PersistPassword 屬性
此 API 支援 基礎結構,但無法直接從您的程式碼使用。
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
命名空間: Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件: Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)
語法
'宣告
Public Property PersistPassword As Boolean
Get
Set
'用途
Dim instance As UIConnectionInfo
Dim value As Boolean
value = instance.PersistPassword
instance.PersistPassword = value
public bool PersistPassword { get; set; }
public:
property bool PersistPassword {
bool get ();
void set (bool value);
}
member PersistPassword : bool with get, set
function get PersistPassword () : boolean
function set PersistPassword (value : boolean)
屬性值
型別:System. . :: . .Boolean
A Boolean value that specifies true if the password should be persisted; otherwise, false.