Share via


Computer.ID Property

Definition

Gets the ID value that uniquely identifies the computer.

public:
 property int ID { int get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)]
public int ID { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)>]
member this.ID : int
Public ReadOnly Property ID As Integer

Property Value

A Int32 value that specifies the ID value that uniquely identifies the computer.

Attributes

Examples

VC#

System.Console.WriteLine(computer.ID);  

VB

System.Console.WriteLine(computer.ID)  

PowerShell

Write-Host $computer.ID   

Applies to