Share via


SPHttpThrottleSettings members

Provides management and configuration settings for performance monitoring and HTTP request throttling.

The SPHttpThrottleSettings type exposes the following members.

Constructors

  Name Description
Public method SPHttpThrottleSettings Initializes a new instance of the SPHttpThrottleSettings class.

Top

Properties

  Name Description
Public property NumberOfSamples Gets or sets the number of times the performance monitoring infrastructure tests performance before calculating a health score.
Public property PerformanceMonitors Gets persisted configuration information about the performance monitors of the parent Web application.
Public property PerformThrottle Gets or sets a value that indicates whether throttling of HTTP requests is enabled for the parent Web application.
Public property RefreshInterval Gets or sets the frequency at which the parent Web application’s performance monitors are checked by the performance monitoring infrastructure.
Public property ThrottleClassifiers Gets the HTTP request classifiers of the parent Web application.

Top

Methods

  Name Description
Public method AddPerformanceMonitor(String, String, SPSystemPerformanceCounterRelativeInstance, [], Boolean) Adds to the PerformanceMonitors collection an object that holds data that is used at runtime to create a performance monitor whose instance name is the process name or the SharePoint Foundation Web application name.
Public method AddPerformanceMonitor(String, String, String, [], Boolean) Adds to the PerformanceMonitors collection an object that holds data that is used at runtime to create a performance monitor.
Public method AddThrottleClassifier Adds an HTTP request classifier to the ThrottleClassifiers collection of the SPHttpThrottleSettings object.
Public method Clear Clears all objects from the ThrottleClassifiers and PerformanceMonitors collections.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateMonitors Gets a collection of the SPSystemPerformanceMonitor objects for the parent Web application.
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetHttpThrottleSettings Gets the child HTTP request throttle settings of the specified object.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemovePerformanceMonitor(String, String) Removes any performance monitor with the specified counter and category from the PerformanceMonitors collection of the SPHttpThrottleSettings object.
Public method RemovePerformanceMonitor(String, String, String) Removes the performance monitor with the specified counter name, instance name, and category from the PerformanceMonitors collection of the SPHttpThrottleSettings object.
Public method RemoveThrottleClassifierAt Removes the HTTP request classifier at the specified index from the ThrottleClassifiers collection.
Public methodStatic member ResetToDefaultSettings Resets the HTTP request throttle settings for a specified Web application to the default settings.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPHttpThrottleSettings class

Microsoft.SharePoint.Utilities namespace