SqlAuthenticationProvider 類別

定義

定義認證提供者的核心行為,並提供衍生類別的基底類別。

public ref class SqlAuthenticationProvider abstract
public abstract class SqlAuthenticationProvider
type SqlAuthenticationProvider = class
Public MustInherit Class SqlAuthenticationProvider
繼承
SqlAuthenticationProvider

備註

若衍生類別能從 app.config 檔案實例化,必須提供無參數建構子。

建構函式

名稱 Description
SqlAuthenticationProvider()

從衍生類別中的建構子呼叫以初始化類別。SqlAuthenticationProvider

方法

名稱 Description
AcquireTokenAsync(SqlAuthenticationParameters)

從當局取得安全令牌。

BeforeLoad(SqlAuthenticationMethod)

此方法會在提供者加入 SQL 驅動程式登錄檔前立即呼叫。

BeforeUnload(SqlAuthenticationMethod)

此方法會在提供者從 SQL 驅動程式登錄檔移除前立即呼叫。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetProvider(SqlAuthenticationMethod)

透過方法取得認證提供者。

GetType()

取得目前實例的 Type

(繼承來源 Object)
IsSupported(SqlAuthenticationMethod)

顯示是否支援指定的認證方法。

MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
SetProvider(SqlAuthenticationMethod, SqlAuthenticationProvider)

依方法設定認證提供者。

ToString()

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

(繼承來源 Object)

適用於