Volume.IdentityKey 属性

定义

获得 Volume 唯一标识该体积的值。

public:
 property Microsoft::SqlServer::Management::Utility::Volume::Key ^ IdentityKey { Microsoft::SqlServer::Management::Utility::Volume::Key ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcIgnore]
public Microsoft.SqlServer.Management.Utility.Volume.Key IdentityKey { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcIgnore>]
member this.IdentityKey : Microsoft.SqlServer.Management.Utility.Volume.Key
Public ReadOnly Property IdentityKey As Volume.Key

属性值

系统值 Volume 是唯一标识该卷的ID值。

属性

示例

维多利亚勋章#

System.Console.WriteLine(volume.IdentityKey);  

VB

System.Console.WriteLine(volume.IdentityKey)  

PowerShell

Write-Host $volume.IdentityKey   

适用于