SqlAuthenticationParameters 類別

定義

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

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

建構函式

名稱 Description
SqlAuthenticationParameters(SqlAuthenticationMethod, String, String, String, String, String, String, Guid)

使用指定的認證方法、伺服器名稱、資料庫名稱、資源 URI、權威 URI、使用者登入名稱/ID、使用者密碼及連線 ID 初始化該類別的新 SqlAuthenticationParameters 實例。

屬性

名稱 Description
AuthenticationMethod

取得認證方式。

Authority

取得URI權限。

ConnectionId

取得連線 ID。

DatabaseName

取得資料庫名稱。

Password

取得使用者密碼。

Resource

取得資源 URI。

ServerName

會拿到伺服器名稱。

UserId

會取得使用者登入名稱/ID。

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於