Condividi tramite


Proprietà Computer.IdentityKey

Gets the key value that uniquely identifies the Computer object.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer.Key 
    Get
'Utilizzo
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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Utility.Computer.Key
A Computer.Key value that uniquely identifies the object.

Esempi

VC#

System.Console.WriteLine(computer.IdentityKey);

VB

System.Console.WriteLine(computer.IdentityKey)

PowerShell

Write-Host $computer.IdentityKey 

Vedere anche

Riferimento

Computer Classe

Spazio dei nomi Microsoft.SqlServer.Management.Utility