SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Methode
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft einen Authentifizierungsanbieter nach der Methode ab.
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
Die Authentifizierungsmethode
Der Authentifizierungsanbieter oder null
, falls er nicht gefunden wird.
Produkt | Versionen |
---|---|
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 |