Свойство IdentityKey

Gets the Key value that uniquely identifies the volume.

Пространство имен:  Microsoft.SqlServer.Management.Utility
Сборка:  Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)

Синтаксис

'Декларация
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Volume..::..Key
    Get
'Применение
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

Значение свойства

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

Примеры

VC#

System.Console.WriteLine(volume.IdentityKey);

VB

System.Console.WriteLine(volume.IdentityKey)

PowerShell

Write-Host $volume.IdentityKey