Compartilhar via


Propriedade do RDL Credential.Identity

Gets or sets the identity associated with the credential.

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

Sintaxe

'Declaração
<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 da propriedade

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

Comentários

The identity is usually a Windows account.

Exemplos

Definindo propriedades

Consulte também

Referência

Credential Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE CREDENTIAL (Transact-SQL)

Credenciais (Mecanismo de Banco de Dados)