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.

注解

此方法不得引发。

适用于