Partilhar via


AddMemberServer Method

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The AddMemberServer method assigns target server group membership to the target server specified.

Sintaxe

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

Comentários

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.