Credential.Identity Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the identity associated with the credential.

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

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public string Identity { get; set; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property String^ Identity {
    String^ get();
    void set(String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member Identity : string with get, set
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public Property Identity As String

Property Value

Type: System.String

A String value that specifies the identity associated with the credential.

Remarks

The identity is usually a Windows account.

Examples

Legacy Code Example

Setting Properties

See Also

Credential Class
Microsoft.SqlServer.Management.Smo Namespace
CREATE CREDENTIAL (Transact-SQL)
Credentials (Database Engine)

Return to top