Compartir a través de


Identity Propiedad

Gets or sets the identity associated with the credential.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Identity As String
    Get
    Set
'Uso
Dim instance As Credential
Dim value As String

value = instance.Identity

instance.Identity = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Identity { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Identity {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Identity : string with get, set
function get Identity () : String
function set Identity (value : String)

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the identity associated with the credential.

Comentarios

The identity is usually a Windows account.