Udostępnij za pośrednictwem


MonitoringClass.GetMonitoringConsoleTasks Method (BaseClassTraversalDepth)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves tasks that target this monitoring class, optionally including the tasks 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.GetConsoleTasks")]
public ReadOnlyCollection<MonitoringConsoleTask> GetMonitoringConsoleTasks(
    BaseClassTraversalDepth baseClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")]
ReadOnlyCollection<MonitoringConsoleTask^>^ GetMonitoringConsoleTasks(
    BaseClassTraversalDepth baseClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")>]
member GetMonitoringConsoleTasks : 
        baseClassTraversalDepth:BaseClassTraversalDepth -> ReadOnlyCollection<MonitoringConsoleTask>
<ObsoleteAttribute("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")>
Public Function GetMonitoringConsoleTasks (
    baseClassTraversalDepth As BaseClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringConsoleTask)

Parameters

Return Value

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

Returns a ReadOnlyCollection<T> of MonitoringConsoleTask objects.

See Also

GetMonitoringConsoleTasks Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top