SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) Méthode

Définition

Cette méthode est appelée juste avant que le fournisseur ne soit ajouté au registre de pilotes SQL.

public:
 virtual void BeforeLoad(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeLoad (System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member BeforeLoad : System.Data.SqlClient.SqlAuthenticationMethod -> unit
override this.BeforeLoad : System.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 de longue durée dans cette méthode, car elle peut empêcher d’autres threads d’accéder au registre du fournisseur.

S’applique à