ManagementServer.BeginExecuteUninstallAgents(IList<AgentManagedComputer>, UninstallAgentConfiguration, AsyncCallback, Object) Method

Definition

Begin execute uninstall agents tasks.

public:
 IAsyncResult ^ BeginExecuteUninstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::UninstallAgentConfiguration ^ uninstallAgentConfiguration, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecuteUninstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration uninstallAgentConfiguration, AsyncCallback callback, object state);
member this.BeginExecuteUninstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecuteUninstallAgents (agentManagedComputers As IList(Of AgentManagedComputer), uninstallAgentConfiguration As UninstallAgentConfiguration, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

agentManagedComputers
IList<AgentManagedComputer>

The agent-managed computers on which to uninstall agents.

uninstallAgentConfiguration
UninstallAgentConfiguration

Information used to configure the uninstall.

callback
AsyncCallback

Optional callback.

state
Object

Optional state returned in callback.

Returns

IAsyncResult

IAsyncResult

Applies to