Share via


UIConnectionInfo.PersistPassword Property

This API supports the infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. 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)

Property Value

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