Volume.IdentityKey Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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