ManagementServer.EndExecuteUninstallAgents Method

Updated: April 16, 2012

Finishes an operation to remove agents from managed computers. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim asyncResult As IAsyncResult Dim returnValue As AgentTaskResult returnValue = instance.EndExecuteUninstallAgents(asyncResult)Public Function EndExecuteUninstallAgents ( _ asyncResult As IAsyncResult _ ) As AgentTaskResultpublic AgentTaskResult EndExecuteUninstallAgents ( IAsyncResult asyncResult )public: AgentTaskResult^ EndExecuteUninstallAgents ( IAsyncResult^ asyncResult )public AgentTaskResult EndExecuteUninstallAgents ( IAsyncResult asyncResult )public function EndExecuteUninstallAgents ( asyncResult : IAsyncResult ) : AgentTaskResultParametersasyncResultAn IAsyncResult instance that stores state information and any user-defined data for this asynchronous operation.Return ValueReturns an AgentTaskResult object that contains the results of the uninstall operation.

The EndExecuteUninstallAgents method is a blocking method that completes the asynchronous discovery request started in the BeginExecuteUninstallAgents method.

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