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 類別的新執行個體初始化。

屬性

AuthenticationMethod

取得驗證方法。

Authority

取得授權單位 URI。

ConnectionId

取得連線識別碼。

DatabaseName

取得資料庫名稱。

Password

取得使用者密碼。

Resource

取得資源 URI。

ServerName

取得伺服器名稱。

UserId

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

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於