Share via


Credential.Identity-Eigenschaft

Gets or sets the identity associated with the credential.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Identity As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Hinweise

The identity is usually a Windows account.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

Credential Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE CREDENTIAL (Transact-SQL)

Anmeldeinformationen (Datenbankmodul)