Share via


RegisteredServer.ID Property

Gets the ID value that uniquely identifies the registered server.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ID As Integer
    Get
'Usage
Dim instance As RegisteredServer
Dim value As Integer

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ID : int
function get ID () : int

Property Value

Type: System.Int32
An Int32 value that contains the ID value that uniquely identifies the registered server.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.