ActiveDirectoryAuthenticationProvider.IsSupported 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出是否支援指定的驗證方法。
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 預設值