MonitoringClass.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 the monitoring report objects that target this monitoring class.
Overloads
| GetMonitoringReports() |
Obsolete.
Gets all the reports targeted toward this class. |
| GetMonitoringReports(BaseClassTraversalDepth) |
Obsolete.
Gets all the reports targeted toward this class. |
| GetMonitoringReports(ManagementPackReportCriteria) |
Obsolete.
Gets all the reports targeted toward this class. |
| GetMonitoringReports(ManagementPackReportCriteria, BaseClassTraversalDepth) |
Obsolete.
Gets all the reports targeted toward this class. |
GetMonitoringReports()
Caution
Please use ManagementGroup.Reporting.GetReports() instead
Gets all the reports targeted toward this class.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports();
[System.Obsolete("Please use ManagementGroup.Reporting.GetReports() instead")]
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 report objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringReports(BaseClassTraversalDepth)
Caution
Please use ManagementGroup.Reporting.GetReports() instead
Gets all the reports targeted toward this class.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports(Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
[System.Obsolete("Please use ManagementGroup.Reporting.GetReports() instead")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> GetMonitoringReports (Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
member this.GetMonitoringReports : Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport>
Public Function GetMonitoringReports (baseClassTraversalDepth As BaseClassTraversalDepth) As ReadOnlyCollection(Of MonitoringReport)
Parameters
- baseClassTraversalDepth
- BaseClassTraversalDepth
Indicates whether or not to include this classes base classes as targets for the report.
Returns
A collection of report objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringReports(ManagementPackReportCriteria)
Caution
Please use ManagementGroup.Reporting.GetReports() instead
Gets all the reports targeted toward this class.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports(Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria);
[System.Obsolete("Please use ManagementGroup.Reporting.GetReports() instead")]
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 to apply to the reports.
Returns
A collection of report objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringReports(ManagementPackReportCriteria, BaseClassTraversalDepth)
Caution
Please use ManagementGroup.Reporting.GetReports() instead
Gets all the reports targeted toward this class.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringReport ^> ^ GetMonitoringReports(Microsoft::EnterpriseManagement::Configuration::ManagementPackReportCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
[System.Obsolete("Please use ManagementGroup.Reporting.GetReports() instead")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport> GetMonitoringReports (Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria criteria, Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
member this.GetMonitoringReports : Microsoft.EnterpriseManagement.Configuration.ManagementPackReportCriteria * Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringReport>
Public Function GetMonitoringReports (criteria As ManagementPackReportCriteria, baseClassTraversalDepth As BaseClassTraversalDepth) As ReadOnlyCollection(Of MonitoringReport)
Parameters
- criteria
- ManagementPackReportCriteria
The criteria to apply to the reports.
- baseClassTraversalDepth
- BaseClassTraversalDepth
Indicates whether or not to include this classes base classes as targets for the report.
Returns
A collection of Rule objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.