SPSite.UsageInfo.Hits field

Contains the cumulative number of hits on the site collection, which is tracked by the usage analysis code.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Hits As Long
'Usage
Dim instance As SPSite.UsageInfo
Dim value As Long

value = instance.Hits

instance.Hits = value
public long Hits

Remarks

The usage analysis code tracks only data recorded in the HTTP logs. The HTTP logs record most operations except requests for files in the _layouts directory and HTTP requests with results greater than or equal to 300 bytes.

See also

Reference

SPSite.UsageInfo structure

SPSite.UsageInfo members

Microsoft.SharePoint namespace