次の方法で共有


ManagementServer.UpdateAgents Method

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

Updates agents from a specified collection of agent-managed computers.

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

Usage

'Usage
Dim instance As ManagementServer
Dim agentManagedComputer As IList(Of AgentManagedComputer)
Dim updateAgentConfiguration As UpdateAgentConfiguration
Dim returnValue As AgentTaskResult

returnValue = instance.UpdateAgents(agentManagedComputer, updateAgentConfiguration)

Syntax

'Declaration
Public Function UpdateAgents ( _
    agentManagedComputer As IList(Of AgentManagedComputer), _
    updateAgentConfiguration As UpdateAgentConfiguration _
) As AgentTaskResult
public AgentTaskResult UpdateAgents (
    IList<AgentManagedComputer> agentManagedComputer,
    UpdateAgentConfiguration updateAgentConfiguration
)
public:
AgentTaskResult^ UpdateAgents (
    IList<AgentManagedComputer^>^ agentManagedComputer, 
    UpdateAgentConfiguration^ updateAgentConfiguration
)
public AgentTaskResult UpdateAgents (
    IList<AgentManagedComputer> agentManagedComputer, 
    UpdateAgentConfiguration updateAgentConfiguration
)
public function UpdateAgents (
    agentManagedComputer : IList<AgentManagedComputer>, 
    updateAgentConfiguration : UpdateAgentConfiguration
) : AgentTaskResult

Parameters

  • agentManagedComputer
    The list of agent-managed computers to update.
  • updateAgentConfiguration
    Information used to update the agents.

Return Value

Returns an AgentTaskResult object that contains the results of the update operation.

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

ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace