ManagementServer.EndExecuteDeviceDiscovery Method

Updated: April 16, 2012

Finishes an asynchronous device discovery operation. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim asyncResult As IAsyncResult Dim returnValue As DiscoveryTaskResult returnValue = instance.EndExecuteDeviceDiscovery(asyncResult)Public Function EndExecuteDeviceDiscovery ( _ asyncResult As IAsyncResult _ ) As DiscoveryTaskResultpublic DiscoveryTaskResult EndExecuteDeviceDiscovery ( IAsyncResult asyncResult )public: DiscoveryTaskResult^ EndExecuteDeviceDiscovery ( IAsyncResult^ asyncResult )public DiscoveryTaskResult EndExecuteDeviceDiscovery ( IAsyncResult asyncResult )public function EndExecuteDeviceDiscovery ( asyncResult : IAsyncResult ) : DiscoveryTaskResultParametersasyncResultAn IAsyncResult instance that stores state information and any user-defined data for this asynchronous operation.Return ValueReturns a DiscoveryTaskResult that contains the results of the discovery operation.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms