Compartilhar via


SPHttpThrottleSettings.RefreshInterval Property

Gets or sets the frequency at which the parent Web application’s performance monitors are checked by the performance monitoring infrastructure.

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

Syntax

'Declaration
Public Property RefreshInterval As Integer
    Get
    Set
'Usage
Dim instance As SPHttpThrottleSettings
Dim value As Integer

value = instance.RefreshInterval

instance.RefreshInterval = value
public int RefreshInterval { get; set; }

Property Value

Type: System.Int32
The interval in milliseconds. The default is 5000.

Exceptions

Exception Condition
ArgumentOutOfRange

An attempt is made to set the value to less than 1000 (that is, less than one second).

Remarks

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.

See Also

Reference

SPHttpThrottleSettings Class

SPHttpThrottleSettings Members

Microsoft.SharePoint.Utilities Namespace