ManagementServer.UnregisterExecuteAgentTasks Method (IAsyncResult)

Updated: April 16, 2012

Cancels the callback for the specified asynchronous agent operation. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim asyncResult As IAsyncResult instance.UnregisterExecuteAgentTasks(asyncResult)Public Sub UnregisterExecuteAgentTasks ( _ asyncResult As IAsyncResult _ )public void UnregisterExecuteAgentTasks ( IAsyncResult asyncResult )public: void UnregisterExecuteAgentTasks ( IAsyncResult^ asyncResult )public void UnregisterExecuteAgentTasks ( IAsyncResult asyncResult )public function UnregisterExecuteAgentTasks ( asyncResult : IAsyncResult )ParametersasyncResultAn IAsyncResult instance created when starting an asynchronous operation.

If you specified a callback method when starting an agent task, the specified method is automatically called when the task is complete. After you cancel the callback for a task, its completion no longer causes the automatic execution of the specified callback 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