RemoveMemberServer 方法

Withdraws membership of the referenced target server group from the specified target server.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub RemoveMemberServer ( _
    srvname As String _
)
用法
Dim instance As TargetServerGroup
Dim srvname As String

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

参数