SqlConnectionStringBuilder.Authentication 属性

定义

public:
 property Microsoft::Data::SqlClient::SqlAuthenticationMethod Authentication { Microsoft::Data::SqlClient::SqlAuthenticationMethod get(); void set(Microsoft::Data::SqlClient::SqlAuthenticationMethod value); };
public Microsoft.Data.SqlClient.SqlAuthenticationMethod Authentication { get; set; }
member this.Authentication : Microsoft.Data.SqlClient.SqlAuthenticationMethod with get, set
Public Property Authentication As SqlAuthenticationMethod

属性值

连接字符串的身份验证方法。

注解

有关详细信息,请参阅将 Azure Active Directory 身份验证与 SqlClient 配合使用

适用于