Share via


OracleConnectionStringBuilder.Password 屬性

定義

取得或設定 Oracle 帳戶的密碼。

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

屬性值

Password 屬性的值,如未提供任何值,則為 Empty

範例

如果當您嘗試設定此屬性時,傳入的值為 null,則會重設 Password 屬性。 如果尚未設定值,且開發人員嘗試擷取 屬性,則傳回值為 Empty

備註

此屬性會對應至連接字串內的 "Password" 和 "pwd" 索引鍵。

適用於

另請參閱