Udostępnij za pośrednictwem


ActiveDirectoryAuthenticationProvider.BeforeLoad Metoda

Definicja

Ta metoda jest wywoływana bezpośrednio przed dodaniu dostawcy do rejestru dostawców uwierzytelniania.

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)

Parametry

authentication
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