Partager via


Propriété Computer.IdentityKey

Gets the key value that uniquely identifies the Computer object.

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 Computer.Key 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

VC#

System.Console.WriteLine(computer.IdentityKey);

VB

System.Console.WriteLine(computer.IdentityKey)

PowerShell

Write-Host $computer.IdentityKey 

Voir aussi

Référence

Computer Classe

Espace de noms Microsoft.SqlServer.Management.Utility