MonitoringClass.GetDerivedMonitoringClasses Method (TraversalDepth)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of the monitoring classes that are derived from this monitoring class, optionally including instances of derived classes.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use GetDerivedTypes instead")]
public ReadOnlyCollection<MonitoringClass> GetDerivedMonitoringClasses(
TraversalDepth traversalDepth
)
public:
[ObsoleteAttribute("Please use GetDerivedTypes instead")]
ReadOnlyCollection<MonitoringClass^>^ GetDerivedMonitoringClasses(
TraversalDepth traversalDepth
)
[<ObsoleteAttribute("Please use GetDerivedTypes instead")>]
member GetDerivedMonitoringClasses :
traversalDepth:TraversalDepth -> ReadOnlyCollection<MonitoringClass>
<ObsoleteAttribute("Please use GetDerivedTypes instead")>
Public Function GetDerivedMonitoringClasses (
traversalDepth As TraversalDepth
) As ReadOnlyCollection(Of MonitoringClass)
Parameters
traversalDepth
Type: Microsoft.EnterpriseManagement.Common.TraversalDepthDetermines 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 that are contained by those instances.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringClass>
Returns a ReadOnlyCollection<T> of MonitoringClass objects.
See Also
GetDerivedMonitoringClasses Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top