Share via


System Center

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

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IReportingConfigurationManagement
Dim monitoringObjects As IEnumerable(Of T)
Dim criteria As ManagementPackReportCriteria
Dim returnValue As IList(Of ManagementPackReport)

returnValue = instance.GetReports(monitoringObjects, criteria)

Syntax

'Declaration
Function GetReports(Of T As EnterpriseManagementObject) ( _
    monitoringObjects As IEnumerable(Of T), _
    criteria As ManagementPackReportCriteria _
) As IList(Of ManagementPackReport)
IList<ManagementPackReport> GetReports<T> (
    IEnumerable<T> monitoringObjects,
    ManagementPackReportCriteria criteria
) where T : EnterpriseManagementObject
generic<typename T> where T : EnterpriseManagementObject
IList<ManagementPackReport^>^ GetReports (
    IEnumerable<T>^ monitoringObjects, 
    ManagementPackReportCriteria^ criteria
)

GenericParameters

Parameters

  • monitoringObjects
    Type: IEnumerable{

    The target instances.

Return Value

Returns IList.

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

Exceptions

Exception type Condition
ArgumentNullException

The monitoringObjects 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