Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
Dim instance As ManagementServer Dim agentManagedComputer As IList(Of AgentManagedComputer) Dim updateAgentConfiguration As UpdateAgentConfiguration Dim returnValue As AgentTaskResult returnValue = instance.UpdateAgents(agentManagedComputer, updateAgentConfiguration) |
Syntax
Visual Basic |
---|
Public Function UpdateAgents ( _ agentManagedComputer As IList(Of AgentManagedComputer), _ updateAgentConfiguration As UpdateAgentConfiguration _ ) As AgentTaskResult |
C# |
---|
public AgentTaskResult UpdateAgents ( IList<AgentManagedComputer> agentManagedComputer, UpdateAgentConfiguration updateAgentConfiguration ) |
C++ |
---|
public: AgentTaskResult^ UpdateAgents ( IList<AgentManagedComputer^>^ agentManagedComputer, UpdateAgentConfiguration^ updateAgentConfiguration ) |
J# |
---|
public AgentTaskResult UpdateAgents ( IList<AgentManagedComputer> agentManagedComputer, UpdateAgentConfiguration updateAgentConfiguration ) |
JScript |
---|
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
An AgentTaskResult containing 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.