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.