Partager via


SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Méthode

Définition

Définit un fournisseur d’authentification par méthode.

public:
 static System::Data::SqlClient::SqlAuthenticationProvider ^ GetProvider(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public static System.Data.SqlClient.SqlAuthenticationProvider GetProvider (System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
static member GetProvider : System.Data.SqlClient.SqlAuthenticationMethod -> System.Data.SqlClient.SqlAuthenticationProvider
Public Shared Function GetProvider (authenticationMethod As SqlAuthenticationMethod) As SqlAuthenticationProvider

Paramètres

authenticationMethod
SqlAuthenticationMethod

Méthode d’authentification.

Retours

Fournisseur d’authentification, ou null s’il est introuvable.

S’applique à