Share via


AgentManagedComputer.SetManagementServers Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets the primary and failover Management Servers for this agent-managed computer.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As AgentManagedComputer
Dim managementServer As ManagementServer
Dim failoverManagementServers As IList(Of ManagementServer)

instance.SetManagementServers(managementServer, failoverManagementServers)

Syntax

'Declaration
Public Sub SetManagementServers ( _
    managementServer As ManagementServer, _
    failoverManagementServers As IList(Of ManagementServer) _
)
public void SetManagementServers (
    ManagementServer managementServer,
    IList<ManagementServer> failoverManagementServers
)
public:
void SetManagementServers (
    ManagementServer^ managementServer, 
    IList<ManagementServer^>^ failoverManagementServers
)
public void SetManagementServers (
    ManagementServer managementServer, 
    IList<ManagementServer> failoverManagementServers
)
public function SetManagementServers (
    managementServer : ManagementServer, 
    failoverManagementServers : IList<ManagementServer>
)

Parameters

  • managementServer
    The primary Management Server for this agent-managed computer.
  • failoverManagementServers
    The collection of servers that manage this computer if communication is lost with the agent's primary Management Server.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

AgentManagedComputer Class
AgentManagedComputer Members
Microsoft.EnterpriseManagement.Administration Namespace