ManagementServer.EndExecuteDeviceDiscovery(IAsyncResult) Method

Definition

End execute device discovery.

public:
 Microsoft::EnterpriseManagement::Administration::DiscoveryTaskResult ^ EndExecuteDeviceDiscovery(IAsyncResult ^ asyncResult);
public Microsoft.EnterpriseManagement.Administration.DiscoveryTaskResult EndExecuteDeviceDiscovery (IAsyncResult asyncResult);
member this.EndExecuteDeviceDiscovery : IAsyncResult -> Microsoft.EnterpriseManagement.Administration.DiscoveryTaskResult
Public Function EndExecuteDeviceDiscovery (asyncResult As IAsyncResult) As DiscoveryTaskResult

Parameters

asyncResult
IAsyncResult

IAsyncResult returned from BeginExecuteDeviceDiscovery.

Returns

DiscoveryTaskResult

Discovery task result.

Exceptions

Not currently connected to a management group.

Remarks

EndExecuteDeviceDiscovery is a blocking method that completes the asynchronous discovery request started in the BeginExecuteDeviceDiscovery method.

Applies to