Applies To: Operations Manager for System Center 2012
Finishes an asynchronous device discovery operation.
Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public DiscoveryTaskResult EndExecuteDeviceDiscovery(
    IAsyncResult asyncResult
)
public:
DiscoveryTaskResult^ EndExecuteDeviceDiscovery(
    IAsyncResult^ asyncResult
)
member EndExecuteDeviceDiscovery : 
        asyncResult:IAsyncResult -> DiscoveryTaskResult
Public Function EndExecuteDeviceDiscovery (
    asyncResult As IAsyncResult
) As DiscoveryTaskResult
Parameters
- asyncResult 
 Type: System.IAsyncResult- An IAsyncResult instance that stores state information and any user-defined data for this asynchronous operation. 
Return Value
Type: Microsoft.EnterpriseManagement.Administration.DiscoveryTaskResult
Returns a DiscoveryTaskResult that contains the results of the discovery operation.
Remarks
EndExecuteDeviceDiscovery is a blocking method that completes the asynchronous discovery request started in the BeginExecuteDeviceDiscovery method.
See Also
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top