共用方式為


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

適用於