This topic has not yet been rated - Rate this topic

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)
Available in Sandboxed Solutions: No
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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ