SqlAuthenticationProvider.IsSupported(SqlAuthenticationMethod) 方法

定義

顯示是否支援指定的認證方法。

public:
 abstract bool IsSupported(Microsoft::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public abstract bool IsSupported(Microsoft.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member IsSupported : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> bool
Public MustOverride Function IsSupported (authenticationMethod As SqlAuthenticationMethod) As Boolean

參數

authenticationMethod
SqlAuthenticationMethod

驗證方法。

傳回

true若支援指定的認證方法;否則,。 false

備註

此方法不得投擲。

適用於