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.

示例

设置属性