IReportingConfigurationManagement.GetReports Method

Definition

Gets a list of reports.

Overloads

GetReports(ManagementPackClass, ManagementPackReportCriteria, BaseClassTraversalDepth)

Gets a list of all report instances that target the management pack class, optionally searching all base classes of the class.

GetReports()

Gets a list of all reports.

GetReports(ManagementPackReportCriteria)

Gets a list of all report instances that match the provided criteria.

GetReports(EnterpriseManagementObject, ManagementPackReportCriteria)

Gets all reports targeting the provided instance.

GetReports<T>(IEnumerable<T>, ManagementPackReportCriteria)

Gets a list of linked report instances that are targeting the provided list of instances.

GetReports(ManagementPackClass, ManagementPackReportCriteria, BaseClassTraversalDepth)

Gets a list of all report instances that target the management pack class, optionally searching all base classes of the class.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackReport ^> ^ GetReports(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport> GetReports (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria, Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
abstract member GetReports : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria * Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport>
Public Function GetReports (managementPackClass As ManagementPackClass, criteria As ManagementPackReportCriteria, baseClassTraversalDepth As BaseClassTraversalDepth) As IList(Of ManagementPackReport)

Parameters

managementPackClass
ManagementPackClass

Type: ManagementPackClass

The target class.

criteria
ManagementPackReportCriteria

Type: ManagementPackReportCriteria

The search criteria.

baseClassTraversalDepth
BaseClassTraversalDepth

Type: BaseClassTraversalDepth

One of the enumeration values.

Returns

Type: IList<T>

The list of reports.

Exceptions

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

The database contained invalid data related to this method call.

Applies to

GetReports()

Gets a list of all reports.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackReport ^> ^ GetReports();
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport> GetReports ();
abstract member GetReports : unit -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport>
Public Function GetReports () As IList(Of ManagementPackReport)

Returns

Type: IList<T>

The list of report instances.

Applies to

GetReports(ManagementPackReportCriteria)

Gets a list of all report instances that match the provided criteria.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackReport ^> ^ GetReports(Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport> GetReports (Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria);
abstract member GetReports : Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport>
Public Function GetReports (criteria As ManagementPackReportCriteria) As IList(Of ManagementPackReport)

Parameters

criteria
ManagementPackReportCriteria

Type: ManagementPackReportCriteria

The search criteria.

Returns

Type: IList<T>

The list of reports.

Applies to

GetReports(EnterpriseManagementObject, ManagementPackReportCriteria)

Gets all reports targeting the provided instance.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackReport ^> ^ GetReports(Microsoft::EnterpriseManagement::Common::EnterpriseManagementObject ^ instance, Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport> GetReports (Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject instance, Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria);
abstract member GetReports : Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject * Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport>
Public Function GetReports (instance As EnterpriseManagementObject, criteria As ManagementPackReportCriteria) As IList(Of ManagementPackReport)

Parameters

instance
EnterpriseManagementObject

Type: EnterpriseManagementObject

The target instance.

criteria
ManagementPackReportCriteria

Type: ManagementPackReportCriteria

The search criteria.

Returns

Type: IList<T>

The list of reports.

Applies to

GetReports<T>(IEnumerable<T>, ManagementPackReportCriteria)

Gets a list of linked report instances that are targeting the provided list of instances.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Common::EnterpriseManagementObject System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackReport ^> ^ GetReports(System::Collections::Generic::IEnumerable<T> ^ monitoringObjects, Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport> GetReports<T> (System.Collections.Generic.IEnumerable<T> monitoringObjects, Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria) where T : Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject;
abstract member GetReports : seq<'T (requires 'T :> Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject)> * Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackReport> (requires 'T :> Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject)
Public Function GetReports(Of T As EnterpriseManagementObject) (monitoringObjects As IEnumerable(Of T), criteria As ManagementPackReportCriteria) As IList(Of ManagementPackReport)

Type Parameters

T

The type of targets.

Of type EnterpriseManagementObject.

Parameters

monitoringObjects
IEnumerable<T>

Type: System.Collections.Generic.IEnumerable{``0}

The target instances.

criteria
ManagementPackReportCriteria

Type: ManagementPackReportCriteria

The search criteria.

Returns

Returns IList<T>.

A list of linked report instances that are targeting the provided list of instances.

Exceptions

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

The database contained invalid data related to this method call.

Applies to