SPAnalyticsUsageEntry.LogAnalyticsEvent method (Int32, String)
Creates and logs an analytics event into the analytics pipeline.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub LogAnalyticsEvent ( _
eventTypeId As Integer, _
itemId As String _
)
'Usage
Dim eventTypeId As Integer
Dim itemId As StringSPAnalyticsUsageEntry.LogAnalyticsEvent(eventTypeId, _
itemId)
public static void LogAnalyticsEvent(
int eventTypeId,
string itemId
)
Parameters
eventTypeId
Type: System.Int32The ID of the type of analytics event to create.
itemId
Type: System.StringThe hierarchical ID of the item.