TargetServerGroup.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
)
參數
- srvname
型別:System.String
A String value that specifies the target server to be removed from the target server group.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間