SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit un fournisseur d’authentification par méthode.
public:
static Microsoft::Data::SqlClient::SqlAuthenticationProvider ^ GetProvider(Microsoft::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
C#
public static Microsoft.Data.SqlClient.SqlAuthenticationProvider GetProvider (Microsoft.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
static member GetProvider : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> Microsoft.Data.SqlClient.SqlAuthenticationProvider
Public Shared Function GetProvider (authenticationMethod As SqlAuthenticationMethod) As SqlAuthenticationProvider
- authenticationMethod
- SqlAuthenticationMethod
Méthode d’authentification.
Fournisseur d’authentification, ou null
s’il est introuvable.
Produit | Versions |
---|---|
SqlClient .NET Core | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Framework | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Standard | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |