Share via


Volume.IdentityKey Property

Definition

Gets the Volume value that uniquely identifies the 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

Property Value

A Volume system value that is the ID value that uniquely identifies the volume.

Attributes

Examples

VC#

System.Console.WriteLine(volume.IdentityKey);  

VB

System.Console.WriteLine(volume.IdentityKey)  

PowerShell

Write-Host $volume.IdentityKey   

Applies to