Partager via


Propriété IdentityKey

Gets the Key value that uniquely identifies the volume.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Volume..::..Key
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

VC#

System.Console.WriteLine(volume.IdentityKey);

VB

System.Console.WriteLine(volume.IdentityKey)

PowerShell

Write-Host $volume.IdentityKey