SPAnalyticsUsageEntry constructor (Int32, String, SPSite)
Initializes a new instance of the SPAnalyticsUsageEntry class based on the specified event type ID and item ID for the referenced site.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
eventTypeId As Integer, _
itemId As String, _
site As SPSite _
)
'Usage
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
)
Parameters
eventTypeId
Type: System.Int32The ID of the type of analytics event.
itemId
Type: System.StringThe hierarchical ID of the item.
site
Type: Microsoft.SharePoint.SPSiteThe site associated with the item.