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)

Usage

Visual Basic
Dim instance As MonitoringClass
Dim baseClassTraversalDepth As BaseClassTraversalDepth
Dim returnValue As ReadOnlyCollection(Of MonitoringReport)

returnValue = instance.GetMonitoringReports(baseClassTraversalDepth)

Syntax

Visual Basic
Public Function GetMonitoringReports ( _
		baseClassTraversalDepth As BaseClassTraversalDepth _
) As ReadOnlyCollection(Of MonitoringReport)
C#
public ReadOnlyCollection<MonitoringReport> GetMonitoringReports (
		BaseClassTraversalDepth baseClassTraversalDepth
)
C++
public:
ReadOnlyCollection<MonitoringReport^>^ GetMonitoringReports (
		BaseClassTraversalDepth baseClassTraversalDepth
)
J#
public ReadOnlyCollection<MonitoringReport> GetMonitoringReports (
		BaseClassTraversalDepth baseClassTraversalDepth
)
JScript
public function GetMonitoringReports (
		baseClassTraversalDepth : BaseClassTraversalDepth
) : ReadOnlyCollection<MonitoringReport>

Parameters

baseClassTraversalDepth

Determines whether to also return monitoring report 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

A read-only collection of MonitoringReport 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