SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) Metoda

Definicja

Ta metoda jest wywoływana bezpośrednio przed dodaniu dostawcy do rejestru sterowników 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)

Parametry

authenticationMethod
SqlAuthenticationMethod

Metoda uwierzytelniania.

Uwagi

Unikaj wykonywania długo oczekujących zadań w tej metodzie, ponieważ może zablokować dostęp innych wątków do rejestru dostawcy.

Dotyczy