ManagementServer.UnregisterExecuteAgentTasks Method (Guid)

Updated: April 16, 2012

Cancels the callback for the specified batch of agent tasks. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim batchId As Guid instance.UnregisterExecuteAgentTasks(batchId)Public Sub UnregisterExecuteAgentTasks ( _ batchId As Guid _ )public void UnregisterExecuteAgentTasks ( Guid batchId )public: void UnregisterExecuteAgentTasks ( Guid batchId )public void UnregisterExecuteAgentTasks ( Guid batchId )public function UnregisterExecuteAgentTasks ( batchId : Guid )ParametersbatchIdThe GUID for the batch of tasks that you want to cancel callbacks for.

If you specified a callback method when submitting an agent task, the specified method is automatically called when the status of any task changes. After you cancel the callback for a batch of tasks, changes in task status no longer cause 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