Udostępnij przez


Właściwość Volume.IdentityKey

Pobiera Key wartość, która jednoznacznie identyfikuje wolumin.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Utility
Zestaw:  Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)

Składnia

'Deklaracja
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Volume..::..Key
    Get
'Użycie
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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Utility.Volume.Key
A Key wartość systemu jest to wartość Identyfikatora, który unikatowo identyfikuje wolumin.

Przykłady

VC #

System.Console.WriteLine(volume.IdentityKey);

VB

System.Console.WriteLine(volume.IdentityKey)

PowerShell

Write-Host $volume.IdentityKey