Applies To: Operations Manager for System Center 2012
Changes the primary and failover Management Servers for multiple agent-managed computers, given the specified gateway managed computers, Management Server, and failover Management Server.
Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void SetManagementServer(
    IList<AgentManagedComputer> agentManagedComputers,
    ManagementServer managementServer,
    IList<ManagementServer> failoverManagementServers
)
public:
void SetManagementServer(
    IList<AgentManagedComputer^>^ agentManagedComputers,
    ManagementServer^ managementServer,
    IList<ManagementServer^>^ failoverManagementServers
)
member SetManagementServer : 
        agentManagedComputers:IList<AgentManagedComputer> *
        managementServer:ManagementServer *
        failoverManagementServers:IList<ManagementServer> -> unit
Public Sub SetManagementServer (
    agentManagedComputers As IList(Of AgentManagedComputer),
    managementServer As ManagementServer,
    failoverManagementServers As IList(Of ManagementServer)
)
Parameters
- agentManagedComputers 
 Type: System.Collections.Generic.IList<AgentManagedComputer>- The agent-managed computers for which the specified Management Server and failover Management Server are set. 
- managementServer 
 Type: Microsoft.EnterpriseManagement.Administration.ManagementServer- The Management Server to set for the specified agent-managed computers. 
- failoverManagementServers 
 Type: System.Collections.Generic.IList<ManagementServer>- The failover Management Server to set for the specified agent-managed computers. 
See Also
SetManagementServer Overload
ManagementGroupAdministration Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top