ManagementGroupAdministration.SetManagementServer Method (IList<ManagementServer>, ManagementServer, IList<ManagementServer>)
Applies To: Operations Manager for System Center 2012
Changes the primary and failover Management Servers for multiple gateway 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<ManagementServer> gatewayServers,
ManagementServer managementServer,
IList<ManagementServer> failoverManagementServers
)
public:
void SetManagementServer(
IList<ManagementServer^>^ gatewayServers,
ManagementServer^ managementServer,
IList<ManagementServer^>^ failoverManagementServers
)
member SetManagementServer :
gatewayServers:IList<ManagementServer> *
managementServer:ManagementServer *
failoverManagementServers:IList<ManagementServer> -> unit
Public Sub SetManagementServer (
gatewayServers As IList(Of ManagementServer),
managementServer As ManagementServer,
failoverManagementServers As IList(Of ManagementServer)
)
Parameters
gatewayServers
Type: System.Collections.Generic.IList<ManagementServer>The gateway managed computers for which the specified Management Server and failover Management Server are set.
managementServer
Type: Microsoft.EnterpriseManagement.Administration.ManagementServerThe Management Server to set for the specified gateway managed computers.
failoverManagementServers
Type: System.Collections.Generic.IList<ManagementServer>The failover Management Server to set for the specified gateway managed computers.
See Also
SetManagementServer Overload
ManagementGroupAdministration Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top