次の方法で共有


ManagementServer.EndExecuteDeviceDiscovery Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Finishes an asynchronous device discovery operation.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ManagementServer
Dim asyncResult As IAsyncResult
Dim returnValue As DiscoveryTaskResult

returnValue = instance.EndExecuteDeviceDiscovery(asyncResult)

Syntax

'Declaration
Public Function EndExecuteDeviceDiscovery ( _
    asyncResult As IAsyncResult _
) As DiscoveryTaskResult
public DiscoveryTaskResult EndExecuteDeviceDiscovery (
    IAsyncResult asyncResult
)
public:
DiscoveryTaskResult^ EndExecuteDeviceDiscovery (
    IAsyncResult^ asyncResult
)
public DiscoveryTaskResult EndExecuteDeviceDiscovery (
    IAsyncResult asyncResult
)
public function EndExecuteDeviceDiscovery (
    asyncResult : IAsyncResult
) : DiscoveryTaskResult

Parameters

  • asyncResult
    An IAsyncResult instance that stores state information and any user-defined data for this asynchronous operation.

Return Value

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.

Thread Safety

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

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace