共用方式為


Identity 屬性

Gets or sets the identity associated with the credential.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property Identity As String
    Get
    Set
'用途
Dim instance As Credential
Dim value As String

value = instance.Identity

instance.Identity = value
[SfcPropertyAttribute]
public string Identity { get; set; }
[SfcPropertyAttribute]
public:
property String^ Identity {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
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.

範例

設定屬性