PartialMonitoringObjectBase.GetMonitoringPerformanceDataReader Method (MonitoringPerformanceDataCriteria, TraversalDepth)
Applies To: Operations Manager for System Center 2012
Gets a performance data reader that is used to access all the performance data that is related to this monitoring object and that meets the specified criteria.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public MonitoringPerformanceDataReader GetMonitoringPerformanceDataReader(
MonitoringPerformanceDataCriteria criteria,
TraversalDepth traversalDepth
)
public:
MonitoringPerformanceDataReader^ GetMonitoringPerformanceDataReader(
MonitoringPerformanceDataCriteria^ criteria,
TraversalDepth traversalDepth
)
member GetMonitoringPerformanceDataReader :
criteria:MonitoringPerformanceDataCriteria *
traversalDepth:TraversalDepth -> MonitoringPerformanceDataReader
Public Function GetMonitoringPerformanceDataReader (
criteria As MonitoringPerformanceDataCriteria,
traversalDepth As TraversalDepth
) As MonitoringPerformanceDataReader
Parameters
criteria
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringPerformanceDataCriteriaThe 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.
traversalDepth
Type: Microsoft.EnterpriseManagement.Common.TraversalDepthA value that specifies the scope of the returned results. A value ofOneLevel includes only instances of the specified class in the scope of the returned results. A value of Recursive includes instances of the specified class and all instances that are contained by those instances.
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringPerformanceDataReader
Returns a MonitoringPerformanceDataReader object that allows access to the collection of requested performance data.
See Also
GetMonitoringPerformanceDataReader Overload
PartialMonitoringObjectBase Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top