GroupID Property

SQL-DMO

SQL-DMO

GroupID Property

The GroupID property returns a system-generated, long integer that uniquely identifies a multiserver administration, target server group.

Applies To
TargetServerGroup Object
Syntax

object.GroupID

Part

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetGroupID(LPLONG pRetVal);

Remarks

On any administrating instance of Microsoft® SQL Server™, administration target servers may be grouped. SQL Server multiserver administration allows job assignment to one or more instances of SQL Server by name or multiserver administration group.

See Also

ApplyToTargetServer Method

ApplyToTargetServerGroup Method