ManagementServer.UnregisterExecuteDiscovery Method (IAsyncResult)
Applies To: Operations Manager for System Center 2012
Cancels the callback for the specified asynchronous discovery operation.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void UnregisterExecuteDiscovery(
IAsyncResult asyncResult
)
public:
void UnregisterExecuteDiscovery(
IAsyncResult^ asyncResult
)
member UnregisterExecuteDiscovery :
asyncResult:IAsyncResult -> unit
Public Sub UnregisterExecuteDiscovery (
asyncResult As IAsyncResult
)
Parameters
asyncResult
Type: System.IAsyncResultAn 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 is complete. After you cancel the callback for a task, its completion no longer causes the automatic execution of the specified callback method.
See Also
UnregisterExecuteDiscovery Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top