SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Methode

Definition

Ruft einen Authentifizierungsanbieter nach der Methode ab.

C#
public static Microsoft.Data.SqlClient.SqlAuthenticationProvider GetProvider (Microsoft.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);

Parameter

authenticationMethod
SqlAuthenticationMethod

Die Authentifizierungsmethode

Gibt zurück

Der Authentifizierungsanbieter oder null, falls er nicht gefunden wird.

Gilt für:

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