Computer.IdentityKey プロパティ

Computer オブジェクトを一意に識別するキー値を取得します。

名前空間:  Microsoft.SqlServer.Management.Utility
アセンブリ:  Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)

構文

'宣言
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer.Key 
    Get
'使用
Dim instance As Computer 
Dim value As Computer.Key 

value = instance.IdentityKey
[SfcIgnoreAttribute]
public Computer.Key IdentityKey { get; }
[SfcIgnoreAttribute]
public:
property Computer.Key^ IdentityKey {
    Computer.Key^ get ();
}
[<SfcIgnoreAttribute>]
member IdentityKey : Computer.Key
function get IdentityKey () : Computer.Key

プロパティ値

型: Microsoft.SqlServer.Management.Utility.Computer.Key
オブジェクトを一意に識別する Computer.Key 値です。

使用例

VC#

System.Console.WriteLine(computer.IdentityKey);

VB

System.Console.WriteLine(computer.IdentityKey)

PowerShell

Write-Host $computer.IdentityKey 

関連項目

参照

Computer クラス

Microsoft.SqlServer.Management.Utility 名前空間