PartialMonitoringObject::GetMonitoringTasks Method (ManagementPackTaskCriteria^)
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
Gets all the tasks that are targeted toward this monitoring object, based on all the types of the entity and the base types, and that meet the criteria filter.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Use ManagementGroup.TaskConfiguration.GetTasks methods that take this object")] ReadOnlyCollection<MonitoringTask^>^ GetMonitoringTasks( ManagementPackTaskCriteria^ criteria )
Parameters
- criteria
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPackTaskCriteria^
A value that specifies the kind of monitoring tasks.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringTask^>^Returns ReadOnlyCollection<T> of MonitoringTask objects.
Show: