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若要建立的分析事件類型的識別碼。
itemId
Type: System.String項目的階層式的識別碼。
rollupScopeId
Type: System.Guid階層式彙總範圍之項目的識別碼。
site
Type: Microsoft.SharePoint.SPSite與此項目關聯之網站。