PartialMonitoringObject.GetMonitoringTasks Method

Definition

Gets all the tasks that are targeted toward this monitoring object, based on all the types of the entity and the base types.

Overloads

GetMonitoringTasks()
Obsolete.

Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types.

GetMonitoringTasks(ManagementPackTaskCriteria)
Obsolete.

Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types.

GetMonitoringTasks()

Caution

Use ManagementGroup.Runtime.TaskConfiguration.GetTasks methods that take this object

Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Runtime::MonitoringTask ^> ^ GetMonitoringTasks();
[System.Obsolete("Use ManagementGroup.Runtime.TaskConfiguration.GetTasks methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Runtime.MonitoringTask> GetMonitoringTasks ();
member this.GetMonitoringTasks : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Runtime.MonitoringTask>
Public Function GetMonitoringTasks () As ReadOnlyCollection(Of MonitoringTask)

Returns

A collection of task objects.

Attributes

Applies to

GetMonitoringTasks(ManagementPackTaskCriteria)

Caution

Use ManagementGroup.TaskConfiguration.GetTasks methods that take this object

Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Runtime::MonitoringTask ^> ^ GetMonitoringTasks(Microsoft::EnterpriseManagement::Configuration::ManagementPackTaskCriteria ^ criteria);
[System.Obsolete("Use ManagementGroup.TaskConfiguration.GetTasks methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Runtime.MonitoringTask> GetMonitoringTasks (Microsoft.EnterpriseManagement.Configuration.ManagementPackTaskCriteria criteria);
member this.GetMonitoringTasks : Microsoft.EnterpriseManagement.Configuration.ManagementPackTaskCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Runtime.MonitoringTask>
Public Function GetMonitoringTasks (criteria As ManagementPackTaskCriteria) As ReadOnlyCollection(Of MonitoringTask)

Parameters

criteria
ManagementPackTaskCriteria

The criteria of tasks to retrieve.

Returns

A collection of task objects.

Attributes

Applies to