共用方式為


RemoveMemberServer Method

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

The RemoveMemberServer method drops the indicated multiserver administration target server from the group referenced.

語法

object
.RemoveMemberServer(
Server
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • Server
    String that identifies a member of the target server group by name.

Prototype (C/C++)

HRESULT RemoveMemberServer(
SQLDMO_LPCSTR Value);

備註

Use the AddMemberServer and RemoveMemberServer methods to configure multiserver administration target server groups on a master server. target servers can be members of no group, or members of any number of groups.