Applies To: Operations Manager for System Center 2012
Finishes an asynchronous operation to discover Windows-based computers.
Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public DiscoveryTaskResult EndExecuteWindowsDiscovery(
    IAsyncResult asyncResult
)
public:
DiscoveryTaskResult^ EndExecuteWindowsDiscovery(
    IAsyncResult^ asyncResult
)
member EndExecuteWindowsDiscovery : 
        asyncResult:IAsyncResult -> DiscoveryTaskResult
Public Function EndExecuteWindowsDiscovery (
    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 object that contains the results of the discovery operation.
Remarks
The EndExecuteWindowsDiscovery method is a blocking method that completes the asynchronous discovery request started in the BeginExecuteWindowsDiscovery method.
See Also
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top