SqlAuthenticationProvider.BeforeUnload(SqlAuthenticationMethod) Metoda

Definicja

Ta metoda jest wywoływana bezpośrednio przed usunięciem dostawcy z rejestru sterowników SQL.

public:
 virtual void BeforeUnload(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeUnload (System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member BeforeUnload : System.Data.SqlClient.SqlAuthenticationMethod -> unit
override this.BeforeUnload : System.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overridable Sub BeforeUnload (authenticationMethod As SqlAuthenticationMethod)

Parametry

authenticationMethod
SqlAuthenticationMethod

Metoda uwierzytelniania.

Uwagi

Na przykład ta metoda jest wywoływana, gdy inny dostawca z tą samą metodą uwierzytelniania zastępuje tego dostawcę w rejestrze sterowników SQL. Unikaj wykonywania długo oczekujących zadań w tej metodzie, ponieważ może zablokować dostęp innych wątków do rejestru dostawcy.

Dotyczy