SPHttpThrottleSettings.GenerateMonitors Method

Gets a collection of the SPSystemPerformanceMonitor objects for the parent Web application.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPSystemPerformanceMonitorCollection GenerateMonitors()

Return Value

Type: 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 GenerateMonitors() 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 GenerateMonitors() method . But to change the configuration of a monitor, your code would need to call the PerformanceMonitors property.