ServerID Property

SQL-DMO

SQL-DMO

ServerID Property

The ServerID property returns a system-generated number that uniquely identifies a multiserver administration target server.

Applies To
TargetServer Object
Syntax

object.ServerID

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetServerID(LPLONG pRetVal);