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)

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.

ExceptionCondition
ArgumentOutOfRangeException

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.

Show: