SPWeb.GetUsageData Method

Definition

Overloads

GetUsageData(SPUsageReportType, SPUsagePeriodType)
GetUsageData(SPUsageReportType, SPUsagePeriodType, Int32, DateTime)

GetUsageData(SPUsageReportType, SPUsagePeriodType)

public:
 System::Data::DataTable ^ GetUsageData(Microsoft::SharePoint::Administration::SPUsageReportType itemType, Microsoft::SharePoint::Administration::SPUsagePeriodType periodType);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.UnsupportedSPType)]
public System.Data.DataTable GetUsageData (Microsoft.SharePoint.Administration.SPUsageReportType itemType, Microsoft.SharePoint.Administration.SPUsagePeriodType periodType);
member this.GetUsageData : Microsoft.SharePoint.Administration.SPUsageReportType * Microsoft.SharePoint.Administration.SPUsagePeriodType -> System.Data.DataTable
Public Function GetUsageData (itemType As SPUsageReportType, periodType As SPUsagePeriodType) As DataTable

Parameters

periodType
SPUsagePeriodType

Returns

DataTable
Attributes
SubsetCallableExcludeMemberAttribute

Applies to

GetUsageData(SPUsageReportType, SPUsagePeriodType, Int32, DateTime)

public:
 System::Data::DataTable ^ GetUsageData(Microsoft::SharePoint::Administration::SPUsageReportType itemType, Microsoft::SharePoint::Administration::SPUsagePeriodType periodType, int numColsToDisplay, DateTime lastDayToDisplay);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.UnsupportedSPType)]
public System.Data.DataTable GetUsageData (Microsoft.SharePoint.Administration.SPUsageReportType itemType, Microsoft.SharePoint.Administration.SPUsagePeriodType periodType, int numColsToDisplay, DateTime lastDayToDisplay);
member this.GetUsageData : Microsoft.SharePoint.Administration.SPUsageReportType * Microsoft.SharePoint.Administration.SPUsagePeriodType * int * DateTime -> System.Data.DataTable
Public Function GetUsageData (itemType As SPUsageReportType, periodType As SPUsagePeriodType, numColsToDisplay As Integer, lastDayToDisplay As DateTime) As DataTable

Parameters

periodType
SPUsagePeriodType
numColsToDisplay
Int32
lastDayToDisplay
DateTime

Returns

DataTable
Attributes
SubsetCallableExcludeMemberAttribute

Applies to