Starts an asynchronous operation to discover Windows-based
computers.
Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
Dim instance As ManagementServer
Dim discoveryConfigurations As IList(Of WindowsDiscoveryConfiguration)
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginExecuteWindowsDiscovery(discoveryConfigurations, callback, state)
|
Syntax
Visual Basic |
Public Function BeginExecuteWindowsDiscovery ( _
discoveryConfigurations As IList(Of WindowsDiscoveryConfiguration), _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
|
C# |
public IAsyncResult BeginExecuteWindowsDiscovery (
IList<WindowsDiscoveryConfiguration> discoveryConfigurations,
AsyncCallback callback,
Object state
)
|
C++ |
public:
IAsyncResult^ BeginExecuteWindowsDiscovery (
IList<WindowsDiscoveryConfiguration^>^ discoveryConfigurations,
AsyncCallback^ callback,
Object^ state
)
|
J# |
public IAsyncResult BeginExecuteWindowsDiscovery (
IList<WindowsDiscoveryConfiguration> discoveryConfigurations,
AsyncCallback callback,
Object state
)
|
JScript |
public function BeginExecuteWindowsDiscovery (
discoveryConfigurations : IList<WindowsDiscoveryConfiguration>,
callback : AsyncCallback,
state : Object
) : IAsyncResult
|
Parameters
- discoveryConfigurations
-
Information used to configure the discovery.
- callback
-
An AsyncCallback delegate that references a user-defined
method to call when the discovery is complete.
- state
-
A user-defined object that you can use to pass information about
the state of the asynchronous operation to the method specified in
the callback parameter.
Return Value
An
IAsyncResult instance that you can use to check the
status of the asynchronous operation.
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 Server 2008, Windows Vista, Windows Server 2003, and
Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows
XP
See Also