AddMemberServer 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 AddMemberServer method assigns target server group membership to the target server specified.




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

  • str
    String that identifies a target server by name.

Prototype (C/C++)

HRESULT AddMemberServer(SQLDMO_LPCSTR NewValue);


Use the AddMemberServer and RemoveMemberServer methods to configure multiserver administration target server groups. A target server can be a member of no group, or a member of multiple groups.