Computer.IdentityKey Computer.IdentityKey Computer.IdentityKey Property

Definition

Gets the key value that uniquely identifies the Computer object.

public:
 property Microsoft::SqlServer::Management::Utility::Computer::Key ^ IdentityKey { Microsoft::SqlServer::Management::Utility::Computer::Key ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcIgnore]
public Microsoft.SqlServer.Management.Utility.Computer.Key IdentityKey { get; }
Public ReadOnly Property IdentityKey As Computer.Key
Property Value

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   

Applies to