Udostępnij przez


Właściwość UIConnectionInfo.PersistPassword

Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.Pobiera lub ustawia Boolean wartość wskazującą, czy hasło UIConnectionInfo powinny być utrwalone.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Zestaw:  Microsoft.SqlServer.RegSvrEnum (w Microsoft.SqlServer.RegSvrEnum.dll)

Składnia

'Deklaracja
Public Property PersistPassword As Boolean
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.Boolean
A Boolean , który określa wartość true , jeśli hasło powinno być utrwalone; w przeciwnym razie false.