Właściwość Computer.IdentityKey
Pobiera wartość klucz, który unikatowo identyfikuje Computer obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Utility
Zestaw: Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)
Składnia
'Deklaracja
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer..::..Key
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Utility.Computer.Key
A Computer.Key wartość, która jednoznacznie identyfikuje obiekt.
Przykłady
VC #
System.Console.WriteLine(computer.IdentityKey);
VB
System.Console.WriteLine(computer.IdentityKey)
PowerShell
Write-Host $computer.IdentityKey