SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此方法會在提供者加入 SQL 認證提供者登錄檔前立即呼叫。
public:
virtual void BeforeLoad(Microsoft::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeLoad(Microsoft.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member BeforeLoad : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
override this.BeforeLoad : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overridable Sub BeforeLoad (authenticationMethod As SqlAuthenticationMethod)
參數
- authenticationMethod
- SqlAuthenticationMethod
驗證方法。
備註
避免使用此方法執行長時間等待的任務,因為這可能會阻擋其他執行緒存取提供者登錄檔。
此方法不得投擲。