Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IReportingConfigurationManagement Dim monitoringObjects As IEnumerable(Of T) Dim criteria As ManagementPackLinkedReportCriteria Dim returnValue As IList(Of ManagementPackLinkedReport) returnValue = instance.GetLinkedReports(monitoringObjects, criteria) |
Syntax
Visual Basic |
---|
Function GetLinkedReports(Of T As EnterpriseManagementObject) ( _ monitoringObjects As IEnumerable(Of T), _ criteria As ManagementPackLinkedReportCriteria _ ) As IList(Of ManagementPackLinkedReport) |
C# |
---|
IList<ManagementPackLinkedReport> GetLinkedReports<T> ( IEnumerable<T> monitoringObjects, ManagementPackLinkedReportCriteria criteria ) where T : EnterpriseManagementObject |
C++ |
---|
generic<typename T> where T : EnterpriseManagementObject IList<ManagementPackLinkedReport^>^ GetLinkedReports ( IEnumerable<T>^ monitoringObjects, ManagementPackLinkedReportCriteria^ criteria ) |
J# |
---|
|
JScript |
---|
|
GenericParameters
- T
-
The type of targets.
Of type EnterpriseManagementObject.
Parameters
- monitoringObjects
-
Type: IEnumerable{
The target instances.
- criteria
-
Type: ManagementPackLinkedReportCriteria
The search criteria.
Return Value
Type: IList The list of linked report 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.