SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) Méthode

Définition

Cette méthode est appelée immédiatement avant l’ajout du fournisseur au registre du fournisseur d’authentification 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)

Paramètres

authenticationMethod
SqlAuthenticationMethod

Méthode d’authentification.

Remarques

Évitez d’effectuer des tâches en attente longue dans cette méthode, car elle peut empêcher d’autres threads d’accéder au registre du fournisseur.

Cette méthode ne doit pas être levée.

S’applique à