PartialMonitoringObjectBase::GetMonitoringPerformanceData Method (MonitoringPerformanceDataCriteria^, ManagementPackClass^)
Applies To: Operations Manager for System Center 2012
Gets all the performance data that is related to this monitoring object and that meets the specified criteria.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public:
ReadOnlyCollection<MonitoringPerformanceData^>^ GetMonitoringPerformanceData(
MonitoringPerformanceDataCriteria^ criteria,
ManagementPackClass^ managementPackClass
)
Parameters
- criteria
-
Type:
Microsoft.EnterpriseManagement.Monitoring::MonitoringPerformanceDataCriteria^
The criteria that filters the performance data. Only performance data that matches the criteria is returned. For information about the criteria syntax, see Operations Manager Data Queries Overview.
- managementPackClass
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPackClass^
Only performance data that is related to this monitoring class is returned.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringPerformanceData^>^Returns a ReadOnlyCollection<T> of MonitoringPerformanceData objects.
Show: