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)


Public Enumeration SPUsagePeriodType
Dim instance As SPUsagePeriodType
public enum SPUsagePeriodType


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.


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


Microsoft.SharePoint.Administration namespace