ActiveDirectoryAuthenticationProvider.IsSupported Method

Definition

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

Applies to