Freigeben über


UIConnectionInfo.PersistPassword-Eigenschaft

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Property PersistPassword As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.Boolean
A Boolean value that specifies true if the password should be persisted; otherwise, false.

Siehe auch

Verweis

UIConnectionInfo Klasse

Microsoft.SqlServer.Management.Smo.RegSvrEnum-Namespace