[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a list of all report instances that target the management pack class, optionally searching all base classes of the class. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IReportingConfigurationManagement
Dim managementPackClass As ManagementPackClass
Dim criteria As ManagementPackReportCriteria
Dim baseClassTraversalDepth As BaseClassTraversalDepth
Dim returnValue As IList(Of ManagementPackReport)

returnValue = instance.GetReports(managementPackClass, criteria, baseClassTraversalDepth)

Syntax

Visual Basic
Function GetReports ( _
		managementPackClass As ManagementPackClass, _
		criteria As ManagementPackReportCriteria, _
		baseClassTraversalDepth As BaseClassTraversalDepth _
) As IList(Of ManagementPackReport)
C#
IList<ManagementPackReport> GetReports (
		ManagementPackClass managementPackClass,
		ManagementPackReportCriteria criteria,
		BaseClassTraversalDepth baseClassTraversalDepth
)
C++
IList<ManagementPackReport^>^ GetReports (
		ManagementPackClass^ managementPackClass, 
		ManagementPackReportCriteria^ criteria, 
		BaseClassTraversalDepth baseClassTraversalDepth
)
J#
IList<ManagementPackReport> GetReports (
		ManagementPackClass managementPackClass, 
		ManagementPackReportCriteria criteria, 
		BaseClassTraversalDepth baseClassTraversalDepth
)
JScript
function GetReports (
		managementPackClass : ManagementPackClass, 
		criteria : ManagementPackReportCriteria, 
		baseClassTraversalDepth : BaseClassTraversalDepth
) : IList<ManagementPackReport>

Parameters

managementPackClass

Type: ManagementPackClass

The target class.

criteria

Type: ManagementPackReportCriteria

The search criteria.

baseClassTraversalDepth

Type: BaseClassTraversalDepth

One of the enumeration values.

Return Value

Type: IList The list of reports.

Exceptions

Exception type Condition
ArgumentNullException

The managementPackClass parameter is a null reference (Nothing in Visual Basic).

InvalidDatabaseDataException

The database contained invalid data related to this method call.

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

See Also