UsageAnalytics.GetAnalyticsItemDataForApplicationEventType method
Retrieves aggregated usage data for a specified item for a specified application 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 GetAnalyticsItemDataForApplicationEventType ( _
appEventType As Guid, _
listItem As SPListItem _
) As AnalyticsItemData
'Usage
Dim instance As UsageAnalytics
Dim appEventType As Guid
Dim listItem As SPListItem
Dim returnValue As AnalyticsItemData
returnValue = instance.GetAnalyticsItemDataForApplicationEventType(appEventType, _
listItem)
public AnalyticsItemData GetAnalyticsItemDataForApplicationEventType(
Guid appEventType,
SPListItem listItem
)
Parameters
appEventType
Type: System.GuidThe application 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.