TargetServerGroup.RemoveMemberServer Método
Withdraws membership of the referenced target server group from the specified target server.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub RemoveMemberServer ( _
srvname As String _
)
'Uso
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
)
Parámetros
- srvname
Tipo: System.String
A String value that specifies the target server to be removed from the target server group.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent