SPHttpThrottleSettings.NumberOfSamples Property

Gets or sets the number of times the performance monitoring infrastructure tests performance before calculating a health score.

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

public int NumberOfSamples { get; set; }

Property Value

Type: System.Int32
The number of performance tests that are used to calculate the score. The default is 12.


An attempt is made to set the property to less than 1.

If NumberOfSamples and RefreshInterval are at their default values, the infrastructure bases its score on a minute’s worth of samples: 12 samples taken at 5 second intervals.