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