Computer.IdentityKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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