SqlAuthenticationProvider.GetProvider(SqlAuthenticationMethod) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按方法获取验证提供程序。
public:
 static Microsoft::Data::SqlClient::SqlAuthenticationProvider ^ GetProvider(Microsoft::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
	public static Microsoft.Data.SqlClient.SqlAuthenticationProvider GetProvider(Microsoft.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
	static member GetProvider : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> Microsoft.Data.SqlClient.SqlAuthenticationProvider
	Public Shared Function GetProvider (authenticationMethod As SqlAuthenticationMethod) As SqlAuthenticationProvider
	参数
- authenticationMethod
 - SqlAuthenticationMethod
 
身份验证方法。
返回
验证提供程序或 null(若未找到)。