Compartilhar via


IReportingConfigurationManagement.GetReports Method (ManagementPackClass, ManagementPackReportCriteria, BaseClassTraversalDepth)

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

'Usage
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

'Declaration
Function GetReports ( _
    managementPackClass As ManagementPackClass, _
    criteria As ManagementPackReportCriteria, _
    baseClassTraversalDepth As BaseClassTraversalDepth _
) As IList(Of ManagementPackReport)
IList<ManagementPackReport> GetReports (
    ManagementPackClass managementPackClass,
    ManagementPackReportCriteria criteria,
    BaseClassTraversalDepth baseClassTraversalDepth
)
IList<ManagementPackReport^>^ GetReports (
    ManagementPackClass^ managementPackClass, 
    ManagementPackReportCriteria^ criteria, 
    BaseClassTraversalDepth baseClassTraversalDepth
)
IList<ManagementPackReport> GetReports (
    ManagementPackClass managementPackClass, 
    ManagementPackReportCriteria criteria, 
    BaseClassTraversalDepth baseClassTraversalDepth
)
function GetReports (
    managementPackClass : ManagementPackClass, 
    criteria : ManagementPackReportCriteria, 
    baseClassTraversalDepth : BaseClassTraversalDepth
) : IList<ManagementPackReport>

Parameters

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

IReportingConfigurationManagement Interface
IReportingConfigurationManagement Members
Microsoft.EnterpriseManagement Namespace