ManagementServer.BeginExecuteUninstallAgents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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