語言

IDbConnectionExtension.Password 屬性

定義

設定連接資料庫時使用的密碼。 會覆寫 連接字串 中指定的任何密碼。

public:
 property System::String ^ Password {  void set(System::String ^ value); };
public string Password { set; }
member this.Password : string
Public Property Password As String

屬性值

連線密碼。

備註

你可以設定 UserName 和 密碼,以指定替代憑證來存取資料來源。

屬性值

驗證客戶端時使用的密碼。

適用於