SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) Metod

Definition

Den här metoden anropas omedelbart innan providern läggs till i SQL-drivrutinsregistret.

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)

Parametrar

authenticationMethod
SqlAuthenticationMethod

Autentiseringsmetoden.

Kommentarer

Undvik att utföra väntande uppgifter i den här metoden eftersom det kan blockera andra trådar från att komma åt providerregistret.

Gäller för