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.

Syntax

object.AddMemberServer(str)

Parts

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

Remarks

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.