Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the key value that uniquely identifies the Computer object.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer.Key
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Utility.Computer.Key
A Computer.Key value that uniquely identifies the object.
Examples
VC#
System.Console.WriteLine(computer.IdentityKey);
VB
System.Console.WriteLine(computer.IdentityKey)
PowerShell
Write-Host $computer.IdentityKey