Share via


SPAnalyticsUsageEntry.LogAnalyticsAppEvent2 method

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 LogAnalyticsAppEvent2 ( _
    appEventTypeId As Guid, _
    itemId As String, _
    rollupScopeId As Guid, _
    siteId As Guid, _
    userId As String _
)
'Usage
Dim appEventTypeId As Guid
Dim itemId As String
Dim rollupScopeId As Guid
Dim siteId As Guid
Dim userId As StringSPAnalyticsUsageEntry.LogAnalyticsAppEvent2(appEventTypeId, _
    itemId, rollupScopeId, siteId, userId)
public static void LogAnalyticsAppEvent2(
    Guid appEventTypeId,
    string itemId,
    Guid rollupScopeId,
    Guid siteId,
    string userId
)

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.

  • siteId
    Type: System.Guid

    The ID of the site the event is related to.

See also

Reference

SPAnalyticsUsageEntry class

SPAnalyticsUsageEntry members

Microsoft.SharePoint.Administration namespace