SqlAuthenticationParameters 類別

定義

代表驅動程式傳遞給驗證提供者的 AD 驗證參數。

public ref class SqlAuthenticationParameters
public class SqlAuthenticationParameters
type SqlAuthenticationParameters = class
Public Class SqlAuthenticationParameters
繼承
SqlAuthenticationParameters

建構函式

SqlAuthenticationParameters(SqlAuthenticationMethod, String, String, String, String, String, String, Guid)

使用指定的驗證方法、伺服器名稱、資料庫名稱、資源 URI、授權單位 URI、使用者登入名稱/識別碼、使用者密碼以及連線識別碼,將 SqlAuthenticationParameters 類別的新執行個體初始化。

SqlAuthenticationParameters(SqlAuthenticationMethod, String, String, String, String, String, String, Guid, Int32)

使用指定的驗證方法、伺服器名稱、資料庫名稱、資源 URI、授權單位 URI、使用者登入名稱/識別碼、使用者密碼、連線識別碼和連線逾時值,初始化 類別的新實例 SqlAuthenticationParameters

欄位

ConnectionTimeout

取得連接逾時值。

屬性

AuthenticationMethod

取得驗證方法。

Authority

取得授權單位 URI。

ConnectionId

取得連線識別碼。

ConnectionTimeout

取得連接逾時值。

DatabaseName

取得資料庫名稱。

Password

取得使用者密碼。

Resource

資源 URI。

ServerName

取得伺服器名稱。

UserId

取得使用者登入名稱/識別碼。

適用於