ManagementGroup.GetMonitoringReports Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves monitoring reports.
Overloads
GetMonitoringReports() |
Obsolete.
Gets monitoring reports. |
GetMonitoringReports(ManagementPackReportCriteria) |
Obsolete.
Gets reports based on criteria. |
GetMonitoringReports<T>(ICollection<T>) |
Obsolete.
Gets all the reports in this management group targeted to any of these instances. |
GetMonitoringReports<T>(ManagementPackReportCriteria, ICollection<T>) |
Obsolete.
Gets all the reports in this management group targeted to any of these instances. |
GetMonitoringReports()
Caution
Please use Reporting.GetReports()
Gets monitoring reports.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports();
[System.Obsolete("Please use Reporting.GetReports()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> GetMonitoringReports ();
member this.GetMonitoringReports : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport>
Public Function GetMonitoringReports () As ReadOnlyCollection(Of MonitoringReport)
Returns
A collection of reports that match the criteria.
- Attributes
Applies to
GetMonitoringReports(ManagementPackReportCriteria)
Caution
Please use Reporting.GetReports()
Gets reports based on criteria.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports(Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria);
[System.Obsolete("Please use Reporting.GetReports()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> GetMonitoringReports (Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria);
member this.GetMonitoringReports : Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport>
Public Function GetMonitoringReports (criteria As ManagementPackReportCriteria) As ReadOnlyCollection(Of MonitoringReport)
Parameters
- criteria
- ManagementPackReportCriteria
The criteria.
Returns
A collection of reports that match the criteria.
- Attributes
Applies to
GetMonitoringReports<T>(ICollection<T>)
Caution
Please use Reporting.GetReports<T>()
Gets all the reports in this management group targeted to any of these instances.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports(System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use Reporting.GetReports<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> GetMonitoringReports<T> (System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringReports : System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringReports(Of T As PartialMonitoringObject) (monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringReport)
Type Parameters
- T
Must be of type PartialMonitoringObject.
Parameters
- monitoringObjects
- ICollection<T>
The monitoring reports that target these specified monitoring object instances.
Returns
A collection of MonitoringReport objects.
- Attributes
Exceptions
monitoringObjects is null
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringReports<T>(ManagementPackReportCriteria, ICollection<T>)
Caution
Please use Reporting.GetReports<T>()
Gets all the reports in this management group targeted to any of these instances.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports(Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria, System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use Reporting.GetReports<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> GetMonitoringReports<T> (Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria, System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringReports : Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria * System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringReports(Of T As PartialMonitoringObject) (criteria As ManagementPackReportCriteria, monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringReport)
Type Parameters
- T
Must be of typePartialMonitoringObject.
Parameters
- criteria
- ManagementPackReportCriteria
A value that specifies the kind of monitoring reports.
- monitoringObjects
- ICollection<T>
The monitoring reports that target these specified monitoring object instances.
Returns
A collection of MonitoringReport objects.
- Attributes
Exceptions
monitoringObjects is null
There was invalid data in the database corresponding to this method call.