Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

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.

© 2015 Microsoft