PartialMonitoringObject::EndExecuteMonitoringTask Method (IAsyncResult^)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Ends the execution of a task.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Use ManagementGroup.TaskRuntime.EndExecuteTask")] ReadOnlyCollection<MonitoringTaskResult^>^ EndExecuteMonitoringTask( IAsyncResult^ asyncResult )
Parameters
- asyncResult
-
Type:
System::IAsyncResult^
The IAsyncResult object that was returned from the M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.BeginExecuteMonitoringTask(Microsoft.EnterpriseManagement.Configuration.MonitoringTask,Microsoft.EnterpriseManagement.Configuration.MonitoringTaskConfiguration,System.AsyncCallback,System.Object) method.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringTaskResult^>^Returns a ReadOnlyCollection<T> of objects that contain the result of the task execution.
Show: