共用方式為


ActiveDirectoryAuthenticationProvider.IsSupported 方法

定義

指出是否支援指定的驗證方法。

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

參數

authentication
SqlAuthenticationMethod

驗證方法。

傳回

若支援指定的驗證方法,則為 true,否則為 false

備註

xref=Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProvider > 支援的驗證模式 < 如下:

  • Active Directory 密碼
  • Active Directory 整合式
  • Active Directory 互動式
  • Active Directory 服務主體
  • Active Directory 裝置程式碼流程
  • Active Directory 受控識別
  • Active Directory MSI
  • Active Directory 預設值

適用於