ManagementServer.BeginExecuteUpdateAgents Method

Updated: April 16, 2012

Starts an asynchronous operation to update agents on a specified collection of agent-managed computers. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim agentManagedComputers As IList(Of AgentManagedComputer) Dim updateAgentConfiguration As UpdateAgentConfiguration Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginExecuteUpdateAgents(agentManagedComputers, updateAgentConfiguration, callback, state)Public Function BeginExecuteUpdateAgents ( _ agentManagedComputers As IList(Of AgentManagedComputer), _ updateAgentConfiguration As UpdateAgentConfiguration, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResultpublic IAsyncResult BeginExecuteUpdateAgents ( IList<AgentManagedComputer> agentManagedComputers, UpdateAgentConfiguration updateAgentConfiguration, AsyncCallback callback, Object state )public: IAsyncResult^ BeginExecuteUpdateAgents ( IList<AgentManagedComputer^>^ agentManagedComputers, UpdateAgentConfiguration^ updateAgentConfiguration, AsyncCallback^ callback, Object^ state )public IAsyncResult BeginExecuteUpdateAgents ( IList<AgentManagedComputer> agentManagedComputers, UpdateAgentConfiguration updateAgentConfiguration, AsyncCallback callback, Object state )public function BeginExecuteUpdateAgents ( agentManagedComputers : IList<AgentManagedComputer>, updateAgentConfiguration : UpdateAgentConfiguration, callback : AsyncCallback, state : Object ) : IAsyncResultParametersagentManagedComputersThe agent-managed computers that are updated.updateAgentConfigurationInformation used to configure the update.callbackAn AsyncCallback delegate that references a user-defined method to call when the uninstall is complete.stateA user-defined object that you can use to pass information about the state of the asynchronous operation to the method specified by the callback parameter.Return ValueReturns an IAsyncResult instance that you can use to check the status of the asynchronous operation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms