SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) Method
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);
C#
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
- authenticationMethod
- SqlAuthenticationMethod
The authentication method.
The authentication provider or null
if not found.
Product | Versions |
---|---|
.NET Framework | 4.7.2, 4.8, 4.8.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: