次の方法で共有


Volume.IdentityKey プロパティ

ボリュームを一意に識別する Key 値を取得します。

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

構文

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

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

プロパティ値

型: Microsoft.SqlServer.Management.Utility.Volume.Key
ボリュームを一意に識別する ID 値である Key システム値です。

使用例

VC#

System.Console.WriteLine(volume.IdentityKey);

VB

System.Console.WriteLine(volume.IdentityKey)

PowerShell

Write-Host $volume.IdentityKey 

関連項目

参照

Volume クラス

Microsoft.SqlServer.Management.Utility 名前空間