Share via


ManagementServer.UnregisterExecuteDiscovery Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Cancels the callback for the specified batch of discovery tasks.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public void UnregisterExecuteDiscovery(
    Guid batchId
)
public:
void UnregisterExecuteDiscovery(
    Guid batchId
)
member UnregisterExecuteDiscovery : 
        batchId:Guid -> unit
Public Sub UnregisterExecuteDiscovery (
    batchId As Guid
)

Parameters

  • batchId
    Type: System.Guid

    The GUID for the batch of tasks that you want to cancel callbacks for.

Remarks

If you specified a callback method when submitting a discovery 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.

See Also

UnregisterExecuteDiscovery Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top