SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Method

Definition

Gets an authentication provider by method.

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

Parameters

authenticationMethod
SqlAuthenticationMethod

The authentication method.

Returns

The authentication provider or null if not found.

Applies to

Product Versions
.NET Framework 4.7.2, 4.8, 4.8.1