Share via


PartialMonitoringObject.GetMonitoringTasks Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

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

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetTasks methods that take this object")]
public ReadOnlyCollection<MonitoringTask> GetMonitoringTasks()
public:
[ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetTasks methods that take this object")]
ReadOnlyCollection<MonitoringTask^>^ GetMonitoringTasks()
[<ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetTasks methods that take this object")>]
member GetMonitoringTasks : unit -> ReadOnlyCollection<MonitoringTask>
<ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetTasks methods that take this object")>
Public Function GetMonitoringTasks As ReadOnlyCollection(Of MonitoringTask)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringTask>

Returns ReadOnlyCollection<T> of MonitoringTask objects.

See Also

GetMonitoringTasks Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top