共用方式為


SPAnalyticsUsageEntry.LogAnalyticsAppEvent method

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

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

Syntax

'宣告
Public Shared Sub LogAnalyticsAppEvent ( _
    appEventTypeId As Guid, _
    itemId As String _
)
'用途
Dim appEventTypeId As Guid
Dim itemId As StringSPAnalyticsUsageEntry.LogAnalyticsAppEvent(appEventTypeId, _
    itemId)
public static void LogAnalyticsAppEvent(
    Guid appEventTypeId,
    string itemId
)

參數

  • appEventTypeId
    Type: System.Guid

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

請參閱

參照

SPAnalyticsUsageEntry class

SPAnalyticsUsageEntry members

Microsoft.SharePoint.Administration namespace