Share via


SPUsagePeriodType enumeration

Specifies the time interval on which a usage report for a Web site is based.

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

Syntax

'Declaration
Public Enumeration SPUsagePeriodType
'Usage
Dim instance As SPUsagePeriodType
public enum SPUsagePeriodType

Members

Member name Description
day Returns usage information for each day during the past 31 days starting from the previous day.
lastMonth Summarizes usage information for the last 31 days relative to the previous day.

Remarks

In usage reports created by using one of the GetUsageData methods of the SPWeb class, the SPUsagePeriodType enumeration is used together with the SPUsageReportType enumeration to define the information that is returned.

See also

Reference

Microsoft.SharePoint.Administration namespace