UsageAnalytics.GetAnalyticsItemData method
Retrieves aggregated usage data for a specified item for a specified event type.
Namespace: Microsoft.Office.Server.Search.Analytics
Assembly: Microsoft.Office.Server.Search.Applications (in Microsoft.Office.Server.Search.Applications.dll)
Syntax
'Declaration
Public Function GetAnalyticsItemData ( _
eventType As Integer, _
listItem As SPListItem _
) As AnalyticsItemData
'Usage
Dim instance As UsageAnalytics
Dim eventType As Integer
Dim listItem As SPListItem
Dim returnValue As AnalyticsItemData
returnValue = instance.GetAnalyticsItemData(eventType, _
listItem)
public AnalyticsItemData GetAnalyticsItemData(
int eventType,
SPListItem listItem
)
Parameters
eventType
Type: System.Int32The event type of the usage data.
listItem
Type: Microsoft.SharePoint.SPListItemThe item that the aggregated usage data refers to.
Return value
Type: Microsoft.Office.Server.Search.Analytics.AnalyticsItemData
The aggregated usage data.