ActiveDirectoryAuthenticationProvider.BeforeLoad 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這個方法會在將提供者新增至驗證提供者登錄之前立即呼叫。
public:
override void BeforeLoad(Microsoft::Data::SqlClient::SqlAuthenticationMethod authentication);
public override void BeforeLoad (Microsoft.Data.SqlClient.SqlAuthenticationMethod authentication);
override this.BeforeLoad : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overrides Sub BeforeLoad (authentication As SqlAuthenticationMethod)
參數
- authentication
- SqlAuthenticationMethod
驗證方法。
備註
避免在此方法中執行長時間等候的工作,因為它可以封鎖其他執行緒存取提供者登錄。