Share via


ManagementServer.UnregisterExecuteDiscovery Method (Guid)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Cancels the callback for the specified batch of discovery tasks.

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

Usage

'Usage
Dim instance As ManagementServer
Dim batchId As Guid

instance.UnregisterExecuteDiscovery(batchId)

Syntax

'Declaration
Public Sub UnregisterExecuteDiscovery ( _
    batchId As Guid _
)
public void UnregisterExecuteDiscovery (
    Guid batchId
)
public:
void UnregisterExecuteDiscovery (
    Guid batchId
)
public void UnregisterExecuteDiscovery (
    Guid batchId
)
public function UnregisterExecuteDiscovery (
    batchId : Guid
)

Parameters

  • batchId
    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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace