RemoveMemberServer Method

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 RemoveMemberServer method drops the indicated multiserver administration target server from the group referenced.

Syntax

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);

Remarks

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.