PartialMonitoringObject.ExecuteMonitoringTask(MonitoringTask, TaskConfiguration) PartialMonitoringObject.ExecuteMonitoringTask(MonitoringTask, TaskConfiguration) PartialMonitoringObject.ExecuteMonitoringTask(MonitoringTask, TaskConfiguration) PartialMonitoringObject.ExecuteMonitoringTask(MonitoringTask, TaskConfiguration) Method

Definition

Warning

This API is now obsolete.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Runtime::MonitoringTaskResult ^> ^ ExecuteMonitoringTask(Microsoft::EnterpriseManagement::Runtime::MonitoringTask ^ task, Microsoft::EnterpriseManagement::Runtime::TaskConfiguration ^ configuration);
[System.Obsolete("Use ManagementGroup.TaskRuntime.ExecuteTask methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Runtime.MonitoringTaskResult> ExecuteMonitoringTask (Microsoft.EnterpriseManagement.Runtime.MonitoringTask task, Microsoft.EnterpriseManagement.Runtime.TaskConfiguration configuration);
member this.ExecuteMonitoringTask : Microsoft.EnterpriseManagement.Runtime.MonitoringTask * Microsoft.EnterpriseManagement.Runtime.TaskConfiguration -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Runtime.MonitoringTaskResult>
Public Function ExecuteMonitoringTask (task As MonitoringTask, configuration As TaskConfiguration) As ReadOnlyCollection(Of MonitoringTaskResult)

Parameters

Returns

Applies to