SPAnalyticsUsageEntry.LogAnalyticsEvent2 method
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 LogAnalyticsEvent2 ( _
eventTypeId As Integer, _
itemId As String, _
rollupScopeId As Guid, _
siteId As Guid, _
userId As String _
)
'Usage
Dim eventTypeId As Integer
Dim itemId As String
Dim rollupScopeId As Guid
Dim siteId As Guid
Dim userId As StringSPAnalyticsUsageEntry.LogAnalyticsEvent2(eventTypeId, _
itemId, rollupScopeId, siteId, userId)
public static void LogAnalyticsEvent2(
int eventTypeId,
string itemId,
Guid rollupScopeId,
Guid siteId,
string userId
)
Parameters
eventTypeId
Type: System.Int32The ID of the type of analytics event to create.
itemId
Type: System.StringThe hierarchical ID of the item.
rollupScopeId
Type: System.GuidThe ID of a hierarchical roll-up scope of the item.
siteId
Type: System.GuidThe ID of the site the event is related to.
userId
Type: System.StringThe user the event is related to.