ManagementServer.EndExecuteWindowsDiscovery(IAsyncResult) Method

Definition

End execute Windows discovery.

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

Parameters

asyncResult
IAsyncResult

IAsyncResult returned from BeginExecuteWindowsDiscovery.

Returns

DiscoveryTaskResult

Discovery task result.

Exceptions

Not currently connected to a management group.

Remarks

The EndExecuteWindowsDiscovery method is a blocking method that completes the asynchronous discovery request started in the BeginExecuteWindowsDiscovery method.

Applies to