Share via


SPAnalyticsUsageEntry.LogAnalyticsEvent method (Guid, String, Guid)

Creates and log 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 _
)
'Usage
Dim appEventTypeId As Guid
Dim itemId As String
Dim rollupScopeId As GuidSPAnalyticsUsageEntry.LogAnalyticsEvent(appEventTypeId, _
    itemId, rollupScopeId)
public static void LogAnalyticsEvent(
    Guid appEventTypeId,
    string itemId,
    Guid rollupScopeId
)

Parameters

  • appEventTypeId
    Type: System.Guid

    The ID of the type of analytics event to create.

  • rollupScopeId
    Type: System.Guid

    The ID of a hierarchical roll-up scope of the item.

See also

Reference

SPAnalyticsUsageEntry class

SPAnalyticsUsageEntry members

LogAnalyticsEvent overload

Microsoft.SharePoint.Administration namespace