Share via


ServerID Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

object.ServerID

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetServerID(LPLONG pRetVal);

Applies To: