Freigeben über


CredentialPersistenceType-Eigenschaft

Gets or sets how the logins and passwords are persisted on the registered server.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property CredentialPersistenceType As CredentialPersistenceType
    Get
    Set
'Usage
Dim instance As RegisteredServer
Dim value As CredentialPersistenceType

value = instance.CredentialPersistenceType

instance.CredentialPersistenceType = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public CredentialPersistenceType CredentialPersistenceType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property CredentialPersistenceType CredentialPersistenceType {
    CredentialPersistenceType get ();
    void set (CredentialPersistenceType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member CredentialPersistenceType : CredentialPersistenceType with get, set
function get CredentialPersistenceType () : CredentialPersistenceType
function set CredentialPersistenceType (value : CredentialPersistenceType)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.RegisteredServers. . :: . .CredentialPersistenceType
A CredentialPersistenceType value that specifies how the logins and passwords are persisted on the registered server.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.