Cancels the callback for the specified batch of discovery tasks. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementServer
Dim batchId As Guid

instance.UnregisterExecuteDiscovery(batchId)

Syntax

Visual Basic
Public Sub UnregisterExecuteDiscovery ( _
		batchId As Guid _
)
C#
public void UnregisterExecuteDiscovery (
		Guid batchId
)
C++
public:
void UnregisterExecuteDiscovery (
		Guid batchId
)
J#
public void UnregisterExecuteDiscovery (
		Guid batchId
)
JScript
public function UnregisterExecuteDiscovery (
		batchId : Guid
)

Parameters

batchId

The globally unique identifier (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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also