Retrieves a collection of the monitoring classes derived from this monitoring class, optionally including instances of derived classes. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringClass
Dim traversalDepth As TraversalDepth
Dim returnValue As ReadOnlyCollection(Of MonitoringClass)

returnValue = instance.GetDerivedMonitoringClasses(traversalDepth)

Syntax

Visual Basic
Public Function GetDerivedMonitoringClasses ( _
		traversalDepth As TraversalDepth _
) As ReadOnlyCollection(Of MonitoringClass)
C#
public ReadOnlyCollection<MonitoringClass> GetDerivedMonitoringClasses (
		TraversalDepth traversalDepth
)
C++
public:
ReadOnlyCollection<MonitoringClass^>^ GetDerivedMonitoringClasses (
		TraversalDepth traversalDepth
)
J#
public ReadOnlyCollection<MonitoringClass> GetDerivedMonitoringClasses (
		TraversalDepth traversalDepth
)
JScript
public function GetDerivedMonitoringClasses (
		traversalDepth : TraversalDepth
) : ReadOnlyCollection<MonitoringClass>

Parameters

traversalDepth

Determines whether to include only instances of the base class or instances of derived classes in the returned results. A value of OneLevel includes only instances of the specified class in the scope of the returned results. A value of Recursive includes instances of the specified class and all instances contained by those instances.

Return Value

A read-only collection of MonitoringClass objects.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also