Share via


ManagementGroupAdministration.SetManagementServer Method

Definition

Changes the primary and failover Management Servers for multiple agent-managed computers.

Overloads

SetManagementServer(IList<AgentManagedComputer>, ManagementServer)

Change the primary and failover management servers for multiple agent managed computers.

SetManagementServer(IList<ManagementServer>, ManagementServer)

Change the primary and failover collection management servers for multiple gateway management servers.

SetManagementServer(IList<PartialAgentManagedComputer>, ManagementServer)

Change the primary and failover management servers for multiple agent managed computers.

SetManagementServer(IList<AgentManagedComputer>, ManagementServer, IList<ManagementServer>)

Change the primary and failover management servers for multiple agent managed computers.

SetManagementServer(IList<ManagementServer>, ManagementServer, IList<ManagementServer>)

Change the primary and failover collection management servers for multiple gateway management servers.

SetManagementServer(IList<PartialAgentManagedComputer>, ManagementServer, IList<ManagementServer>)

Change the primary and failover management servers for multiple agent managed computers.

SetManagementServer(IList<AgentManagedComputer>, ManagementServer)

Change the primary and failover management servers for multiple agent managed computers.

public:
 void SetManagementServer(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::ManagementServer ^ managementServer);
public void SetManagementServer (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.ManagementServer managementServer);
member this.SetManagementServer : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.ManagementServer -> unit
Public Sub SetManagementServer (agentManagedComputers As IList(Of AgentManagedComputer), managementServer As ManagementServer)

Parameters

agentManagedComputers
IList<AgentManagedComputer>

Agent managed computers.

managementServer
ManagementServer

Management server.

Exceptions

Not currently connected to a management group.

Applies to

SetManagementServer(IList<ManagementServer>, ManagementServer)

Change the primary and failover collection management servers for multiple gateway management servers.

public:
 void SetManagementServer(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ gatewayServers, Microsoft::EnterpriseManagement::Administration::ManagementServer ^ managementServer);
public void SetManagementServer (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> gatewayServers, Microsoft.EnterpriseManagement.Administration.ManagementServer managementServer);
member this.SetManagementServer : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> * Microsoft.EnterpriseManagement.Administration.ManagementServer -> unit
Public Sub SetManagementServer (gatewayServers As IList(Of ManagementServer), managementServer As ManagementServer)

Parameters

gatewayServers
IList<ManagementServer>

Gateway servers.

managementServer
ManagementServer

Collection management server.

Exceptions

Not currently connected to a management group.

Applies to

SetManagementServer(IList<PartialAgentManagedComputer>, ManagementServer)

Change the primary and failover management servers for multiple agent managed computers.

public:
 void SetManagementServer(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::PartialAgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::ManagementServer ^ managementServer);
public void SetManagementServer (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.ManagementServer managementServer);
member this.SetManagementServer : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.ManagementServer -> unit
Public Sub SetManagementServer (agentManagedComputers As IList(Of PartialAgentManagedComputer), managementServer As ManagementServer)

Parameters

agentManagedComputers
IList<PartialAgentManagedComputer>

Agent managed computers.

managementServer
ManagementServer

Management server.

Exceptions

Not currently connected to a management group.

Applies to

SetManagementServer(IList<AgentManagedComputer>, ManagementServer, IList<ManagementServer>)

Change the primary and failover management servers for multiple agent managed computers.

public:
 void SetManagementServer(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::ManagementServer ^ managementServer, System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ failoverManagementServers);
public void SetManagementServer (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.ManagementServer managementServer, System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> failoverManagementServers);
member this.SetManagementServer : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.ManagementServer * System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> -> unit
Public Sub SetManagementServer (agentManagedComputers As IList(Of AgentManagedComputer), managementServer As ManagementServer, failoverManagementServers As IList(Of ManagementServer))

Parameters

agentManagedComputers
IList<AgentManagedComputer>

Agent managed computers.

managementServer
ManagementServer

Management server.

failoverManagementServers
IList<ManagementServer>

Failover management servers.

Exceptions

Not currently connected to a management group.

Applies to

SetManagementServer(IList<ManagementServer>, ManagementServer, IList<ManagementServer>)

Change the primary and failover collection management servers for multiple gateway management servers.

public:
 void SetManagementServer(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ gatewayServers, Microsoft::EnterpriseManagement::Administration::ManagementServer ^ managementServer, System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ failoverManagementServers);
public void SetManagementServer (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> gatewayServers, Microsoft.EnterpriseManagement.Administration.ManagementServer managementServer, System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> failoverManagementServers);
member this.SetManagementServer : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> * Microsoft.EnterpriseManagement.Administration.ManagementServer * System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> -> unit
Public Sub SetManagementServer (gatewayServers As IList(Of ManagementServer), managementServer As ManagementServer, failoverManagementServers As IList(Of ManagementServer))

Parameters

gatewayServers
IList<ManagementServer>

Gateway servers.

managementServer
ManagementServer

Collection management server.

failoverManagementServers
IList<ManagementServer>

Failover management servers.

Exceptions

Not currently connected to a management group.

Applies to

SetManagementServer(IList<PartialAgentManagedComputer>, ManagementServer, IList<ManagementServer>)

Change the primary and failover management servers for multiple agent managed computers.

public:
 void SetManagementServer(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::PartialAgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::ManagementServer ^ managementServer, System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ failoverManagementServers);
public void SetManagementServer (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.ManagementServer managementServer, System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> failoverManagementServers);
member this.SetManagementServer : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.ManagementServer * System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> -> unit
Public Sub SetManagementServer (agentManagedComputers As IList(Of PartialAgentManagedComputer), managementServer As ManagementServer, failoverManagementServers As IList(Of ManagementServer))

Parameters

agentManagedComputers
IList<PartialAgentManagedComputer>

Agent managed computers.

managementServer
ManagementServer

Management server.

failoverManagementServers
IList<ManagementServer>

Failover management servers.

Exceptions

Not currently connected to a management group.

Applies to