다음을 통해 공유


AddMemberServer 메서드

Assigns target server group membership to the specified target server.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub AddMemberServer ( _
    srvname As String _
)
‘사용 방법
Dim instance As TargetServerGroup
Dim srvname As String

instance.AddMemberServer(srvname)
public void AddMemberServer(
    string srvname
)
public:
void AddMemberServer(
    String^ srvname
)
member AddMemberServer : 
        srvname:string -> unit 
public function AddMemberServer(
    srvname : String
)

매개 변수

주의

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