ManagementGroup::GetMonitoringTasks Method (ManagementPackTaskCriteria^)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Retrieves a collection of monitoring tasks that match the specified filter.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Please use TaskConfiguration.GetTasks()")] ReadOnlyCollection<MonitoringTask^>^ GetMonitoringTasks( ManagementPackTaskCriteria^ criteria )
Parameters
- criteria
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPackTaskCriteria^
A value that specifies the kind of monitoring task objects.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringTask^>^Returns aReadOnlyCollection<T> object ofMonitoringTask objects.
Show: