语言

SqlAuthenticationProvider.IsSupported(SqlAuthenticationMethod) 方法

定义

指示是否支持指定的身份验证方法。

对于新开发,请使用Microsoft。Data.SqlClient。 此页面记录 System.Data.SqlClient。

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

参数

authenticationMethod
SqlAuthenticationMethod

身份验证方法。

返回

true 如果支持指定的身份验证方法,则为 ;否则,为 false.

适用于