Udostępnij za pośrednictwem


MonitoringClass.GetMonitoringTasks Method (BaseClassTraversalDepth)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring task objects that target this monitoring class, optionally including the monitoring task objects that target the base classes of this class.

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

Syntax

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

Parameters

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