Compartir a través de


IdentityKey Propiedad

Gets the key value that uniquely identifies the Computer object.

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer..::..Key
    Get
'Uso
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

Valor de la propiedad

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

Ejemplos

VC#

System.Console.WriteLine(computer.IdentityKey);

VB

System.Console.WriteLine(computer.IdentityKey)

PowerShell

Write-Host $computer.IdentityKey