Volume.IdentityKey 属性

Gets the Key value that uniquely identifies the volume.

命名空间:  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
A Key system value that is the ID value that uniquely identifies the volume.

示例

VC#

System.Console.WriteLine(volume.IdentityKey);

VB

System.Console.WriteLine(volume.IdentityKey)

PowerShell

Write-Host $volume.IdentityKey 

请参阅

参考

Volume 类

Microsoft.SqlServer.Management.Utility 命名空间