Поделиться через


Свойство Computer.IdentityKey

Gets the key value that uniquely identifies the Computer object.

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

Синтаксис

'Декларация
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer.Key 
    Get
'Применение
Dim instance As Computer 
Dim value As Computer.Key 

value = instance.IdentityKey
[SfcIgnoreAttribute]
public Computer.Key IdentityKey { get; }
[SfcIgnoreAttribute]
public:
property Computer.Key^ IdentityKey {
    Computer.Key^ get ();
}
[<SfcIgnoreAttribute>]
member IdentityKey : Computer.Key
function get IdentityKey () : Computer.Key

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

Тип: Microsoft.SqlServer.Management.Utility.Computer.Key
A Computer.Key value that uniquely identifies the object.

Примеры

VC#

System.Console.WriteLine(computer.IdentityKey);

VB

System.Console.WriteLine(computer.IdentityKey)

PowerShell

Write-Host $computer.IdentityKey 

См. также

Справочник

Computer Класс

Пространство имен Microsoft.SqlServer.Management.Utility