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   

適用於