Partager via


Propriété CredentialPersistenceType

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

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property CredentialPersistenceType As CredentialPersistenceType
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.