共用方式為


SPAnalyticsUsageEntry constructor (Int32, String, SPSite)

初始化根據指定的事件類型的識別碼和項目識別碼所參照的網站, SPAnalyticsUsageEntry類別的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    eventTypeId As Integer, _
    itemId As String, _
    site As SPSite _
)
'用途
Dim eventTypeId As Integer
Dim itemId As String
Dim site As SPSite

Dim instance As New SPAnalyticsUsageEntry(eventTypeId, _
    itemId, site)
public SPAnalyticsUsageEntry(
    int eventTypeId,
    string itemId,
    SPSite site
)

參數

  • eventTypeId
    Type: System.Int32

    分析事件類型的識別碼。

請參閱

參照

SPAnalyticsUsageEntry class

SPAnalyticsUsageEntry members

SPAnalyticsUsageEntry overload

Microsoft.SharePoint.Administration namespace