Credential.Identity プロパティ

資格情報に関連する ID を取得または設定します。

名前空間:  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
資格情報に関連する ID を示す String 値です。

説明

通常、この ID は Windows アカウントです。

使用例

プロパティの設定

関連項目

参照

Credential クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CREATE CREDENTIAL (Transact-SQL)

資格情報 (データベース エンジン)