SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an authentication provider by method.
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
Parameters
- authenticationMethod
- SqlAuthenticationMethod
The authentication method.
Returns
The authentication provider or null
if not found.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.