共用方式為


SPAnalyticsUsageEntry.LogAnalyticsEvent method (Int32, String, Guid, SPSite)

會建立,並將分析事件記錄至分析管線。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Sub LogAnalyticsEvent ( _
    eventTypeId As Integer, _
    itemId As String, _
    rollupScopeId As Guid, _
    site As SPSite _
)
'用途
Dim eventTypeId As Integer
Dim itemId As String
Dim rollupScopeId As Guid
Dim site As SPSiteSPAnalyticsUsageEntry.LogAnalyticsEvent(eventTypeId, _
    itemId, rollupScopeId, site)
public static void LogAnalyticsEvent(
    int eventTypeId,
    string itemId,
    Guid rollupScopeId,
    SPSite site
)

參數

  • eventTypeId
    Type: System.Int32

    若要建立的分析事件類型的識別碼。

  • rollupScopeId
    Type: System.Guid

    階層式彙總範圍之項目的識別碼。

請參閱

參照

SPAnalyticsUsageEntry class

SPAnalyticsUsageEntry members

LogAnalyticsEvent overload

Microsoft.SharePoint.Administration namespace