Freigeben über


ManagementGroup.GetMonitoringTasks Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitoring tasks.

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

Syntax

[ObsoleteAttribute("Please use TaskConfiguration.GetTasks()")]
public ReadOnlyCollection<MonitoringTask> GetMonitoringTasks()
public:
[ObsoleteAttribute("Please use TaskConfiguration.GetTasks()")]
ReadOnlyCollection<MonitoringTask^>^ GetMonitoringTasks()
[<ObsoleteAttribute("Please use TaskConfiguration.GetTasks()")>]
member GetMonitoringTasks : unit -> ReadOnlyCollection<MonitoringTask>
<ObsoleteAttribute("Please use TaskConfiguration.GetTasks()")>
Public Function GetMonitoringTasks As ReadOnlyCollection(Of MonitoringTask)

Return Value

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

Returns aReadOnlyCollection<T> object ofMonitoringTask objects.

See Also

GetMonitoringTasks Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top