ActiveDirectoryAuthenticationProvider.IsSupported 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.
Indicates whether the specified authentication method is supported.
public:
override bool IsSupported(Microsoft::Data::SqlClient::SqlAuthenticationMethod authentication);
public override bool IsSupported (Microsoft.Data.SqlClient.SqlAuthenticationMethod authentication);
override this.IsSupported : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> bool
Public Overrides Function IsSupported (authentication As SqlAuthenticationMethod) As Boolean
Parameters
- authentication
- SqlAuthenticationMethod
The authentication method.
Returns
true
if the specified authentication method is supported; otherwise, false
.
Remarks
The supported authentication modes with <xref=Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProvider> are:
- Active Directory Password
- Active Directory Integrated
- Active Directory Interactive
- Active Directory Service Principal
- Active Directory Device Code Flow
- Active Directory Managed Identity
- Active Directory MSI
- Active Directory Default