共用方式為


GroupID Property

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

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

語法

object
.GroupID

Part

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetGroupID(LPLONG pRetVal);

備註

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