Share via


OracleConnectionStringBuilder.PersistSecurityInfo 屬性

定義

取得或設定布林值,指出連接開啟或曾經處於開啟狀態時,是否將敏感的安全性資訊 (如密碼) 當做連接的一部分傳回。

public:
 property bool PersistSecurityInfo { bool get(); void set(bool value); };
public bool PersistSecurityInfo { get; set; }
member this.PersistSecurityInfo : bool with get, set
Public Property PersistSecurityInfo As Boolean

屬性值

PersistSecurityInfo 屬性的值,如未提供任何值,則為 false

備註

此屬性會對應至連接字串內的 "Persist Security Info" 和 "persistsecurityinfo" 索引鍵。

適用於

另請參閱