SPAnalyticsUsageEntry.LogAnalyticsEvent method (Guid, String, Guid, SPSite)
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 ( _
appEventTypeId As Guid, _
itemId As String, _
rollupScopeId As Guid, _
site As SPSite _
)
'Usage
Dim appEventTypeId As Guid
Dim itemId As String
Dim rollupScopeId As Guid
Dim site As SPSiteSPAnalyticsUsageEntry.LogAnalyticsEvent(appEventTypeId, _
itemId, rollupScopeId, site)
public static void LogAnalyticsEvent(
Guid appEventTypeId,
string itemId,
Guid rollupScopeId,
SPSite site
)
Parameters
appEventTypeId
Type: System.GuidThe 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.
site
Type: Microsoft.SharePoint.SPSiteThe site associated with the item.