Partager via


SiteHitRule.HitRate Property

Gets or sets the hit rate, which represents the number of simultaneous requests allowed or the interval between sequential requests, for a specified server.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property HitRate As Integer
    Get
    Set
'Usage
Dim instance As SiteHitRule
Dim value As Integer

value = instance.HitRate

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

Property Value

Type: System.Int32
A 32-bit integer representing the hit rate.

Remarks

If the site hit rule type specified in the Behavior property is SimultaneousRequests, the HitRate property represents the number of simultaneous requests allowed for the specified server.

If the site hit rule type specified in the Behavior property is DelayBetweenRequests, the HitRate property represents the time interval between sequential requests.

See Also

Reference

SiteHitRule Class

SiteHitRule Members

Microsoft.Office.Server.Search.Administration Namespace