Share via


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; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcIgnore>]
member this.IdentityKey : Microsoft.SqlServer.Management.Utility.Computer.Key
Public ReadOnly Property IdentityKey As Computer.Key

Property Value

A Computer.Key value that uniquely identifies the object.

Attributes

Examples

VC#

System.Console.WriteLine(computer.IdentityKey);  

VB

System.Console.WriteLine(computer.IdentityKey)  

PowerShell

Write-Host $computer.IdentityKey   

Applies to