Dela via


Volume.IdentityKey Property

Gets the Key value that uniquely identifies the volume.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Volume..::..Key
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Utility.Volume.Key
A Key system value that is the ID value that uniquely identifies the volume.

Examples

VC#

System.Console.WriteLine(volume.IdentityKey);

VB

System.Console.WriteLine(volume.IdentityKey)

PowerShell

Write-Host $volume.IdentityKey