RegisteredServer.CredentialPersistenceType Property

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)

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.