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

Usage

Visual Basic
Dim instance As ManagementServer
Dim asyncResult As IAsyncResult

instance.UnregisterExecuteDiscovery(asyncResult)

Syntax

Visual Basic
Public Sub UnregisterExecuteDiscovery ( _
		asyncResult As IAsyncResult _
)
C#
public void UnregisterExecuteDiscovery (
		IAsyncResult asyncResult
)
C++
public:
void UnregisterExecuteDiscovery (
		IAsyncResult^ asyncResult
)
J#
public void UnregisterExecuteDiscovery (
		IAsyncResult asyncResult
)
JScript
public function UnregisterExecuteDiscovery (
		asyncResult : IAsyncResult
)

Parameters

asyncResult

An IAsyncResult instance created when starting an asynchronous operation.

Remarks

If you specified a callback method when starting a discovery task, the specified method is automatically called when the task completes. After you cancel the callback for a task, its completion no longer causes 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