Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ID value that uniquely identifies the computer.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property ID As Integer
Get
Friend Set
'Usage
Dim instance As Computer
Dim value As Integer
value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ID { get; internal set; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ID {
int get ();
internal: void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ID : int with get, internal set
function get ID () : int
internal function set ID (value : int)
Property Value
Type: System.Int32
A Int32 value that specifies the ID value that uniquely identifies the computer.
Examples
VC#
System.Console.WriteLine(computer.ID);
VB
System.Console.WriteLine(computer.ID)
PowerShell
Write-Host $computer.ID