Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves the monitoring report objects that target this monitoring class, optionally including the monitoring report objects that target the base classes of this class.
Namespace:   Microsoft.EnterpriseManagement.Configuration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use ManagementGroup.Reporting.GetReports() instead")]
public ReadOnlyCollection<MonitoringReport> GetMonitoringReports(
    BaseClassTraversalDepth baseClassTraversalDepth
)
public:
[ObsoleteAttribute("Please use ManagementGroup.Reporting.GetReports() instead")]
ReadOnlyCollection<MonitoringReport^>^ GetMonitoringReports(
    BaseClassTraversalDepth baseClassTraversalDepth
)
[<ObsoleteAttribute("Please use ManagementGroup.Reporting.GetReports() instead")>]
member GetMonitoringReports : 
        baseClassTraversalDepth:BaseClassTraversalDepth -> ReadOnlyCollection<MonitoringReport>
<ObsoleteAttribute("Please use ManagementGroup.Reporting.GetReports() instead")>
Public Function GetMonitoringReports (
    baseClassTraversalDepth As BaseClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringReport)
Parameters
- baseClassTraversalDepth 
 Type: Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth- Determines whether to also return monitoring rule objects that target the base classes of this class. A value of None does not include base classes. A value of Recursive includes base classes. 
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringReport>
Returns a ReadOnlyCollection<T> of MonitoringReport objects.
See Also
GetMonitoringReports Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top