Свойство Credential.Identity

Gets or sets the identity associated with the credential.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Identity As String 
    Get 
    Set
'Применение
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)

Значение свойства

Тип: System.String
A String value that specifies the identity associated with the credential.

Замечания

The identity is usually a Windows account.

Примеры

Установка свойств

См. также

Справочник

Credential Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

CREATE CREDENTIAL (Transact-SQL)

Учетные данные (компонент Database Engine)