Share via


ManagementServer.BeginExecuteUpdateAgents Method (IList<AgentManagedComputer>, UpdateAgentConfiguration, AsyncCallback, Object)

 

Applies To: Operations Manager for System Center 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)

Syntax

public IAsyncResult BeginExecuteUpdateAgents(
    IList<AgentManagedComputer> agentManagedComputers,
    UpdateAgentConfiguration updateAgentConfiguration,
    AsyncCallback callback,
    object state
)
public:
IAsyncResult^ BeginExecuteUpdateAgents(
    IList<AgentManagedComputer^>^ agentManagedComputers,
    UpdateAgentConfiguration^ updateAgentConfiguration,
    AsyncCallback^ callback,
    Object^ state
)
member BeginExecuteUpdateAgents : 
        agentManagedComputers:IList<AgentManagedComputer> *
        updateAgentConfiguration:UpdateAgentConfiguration *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
Public Function BeginExecuteUpdateAgents (
    agentManagedComputers As IList(Of AgentManagedComputer),
    updateAgentConfiguration As UpdateAgentConfiguration,
    callback As AsyncCallback,
    state As Object
) As IAsyncResult

Parameters

  • state
    Type: System.Object

    A 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 Value

Type: System.IAsyncResult

Returns an IAsyncResult instance that you can use to check the status of the asynchronous operation.

See Also

ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top