Gets a collection of the SPSystemPerformanceMonitor objects for the parent Web application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Return valueType: Microsoft.SharePoint.Utilities.SPSystemPerformanceMonitorCollection
The performance monitors for the Web application.
Contrast the object returned by this method with the object returned by the PerformanceMonitors property. The object returned by the method contains data that is currently being reported by the performance monitors. So to read the current values of the monitors, your code would need to call the method . But to change the configuration of a monitor, your code would need to call the PerformanceMonitors property.