Computer.ID 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 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