Udostępnij za pośrednictwem


MonitoringClass.GetMonitoringTasks Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves all the monitoring task objects that target this monitoring class.

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

Syntax

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

Return Value

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

Returns a ReadOnlyCollection<T> of MonitoringTask objects.

See Also

GetMonitoringTasks Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top