SPAnalyticsUsageEntry members

Creates a usage entry used to log data for analytics processing for custom usage event types.

The SPAnalyticsUsageEntry type exposes the following members.

Constructors

  Name Description
Public method SPAnalyticsUsageEntry([]) Initializes a new instance of the SPAnalyticsUsageEntry class from an array of objects.
Public method SPAnalyticsUsageEntry(Guid, String, SPSite) Initializes a new instance of the SPAnalyticsUsageEntry class based on the ID of the app event type and the item ID for the referenced site.
Public method SPAnalyticsUsageEntry(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.

Top

Properties

  Name Description
Public property AppEventTypeId Gets or sets the app event type.
Public property CorrelationId (Inherited from SPUsageEntry.)
Public property CustomData Gets or sets the custom data to associate with the event.
Public property EventTypeId Gets or sets the ID of the event type.
Public property FarmId The identifier for the farm where this usage entry originated. (Inherited from SPUsageEntry.)
Public property ItemId Gets or set the ID of the item to which the event applies.
Public property MachineName (Inherited from SPUsageEntry.)
Public property ParentInstanceName (Inherited from SPUsageEntry.)
Public property ParentType (Overrides SPUsageEntry.ParentType.)
Public property ParentTypeGuid (Inherited from SPUsageEntry.)
Public property ScopeId Gets or sets the custom scope ID to which the event applies.
Public property SessionId Gets or sets a user session for which the event applies.
Public property SiteId Gets or sets the ID of the site collection to which the event applies.
Public property SiteSubscriptionId Gets or sets the globally unique identifier (GUID) for the hosted domain from which this usage event originated. (Inherited from SPUsageEntry.)
Public property Timestamp Gets or sets a timestamp for the occurrence of this entry. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from SPUsageEntry.)
Public property TimestampUtc Gets or sets a UTC timestamp for the occurrence of this entry. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from SPUsageEntry.)
Public property User Gets or sets a user for which the event applies. (Overrides SPUsageEntry.User.)
Public property WebApplicationId Gets or sets the ID of the web application to which the event applies.
Public property Weight Gets or sets the weight of the event, that is, the event is to be treated as if it happened many times.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetBaseObjectData (Inherited from SPUsageEntry.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member LogAnalyticsAppEvent Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsAppEvent2 Creates and log an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(SPAnalyticsUsageEntry) Logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Int32, String) Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Guid, String, SPSite) Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Guid, String, Guid) Creates and log an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Int32, String, SPSite) Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Int32, String, Guid) Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Guid, String, Guid, SPSite) Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent(Int32, String, Guid, SPSite) Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogAnalyticsEvent2 Creates and logs an analytics event into the analytics pipeline.
Public methodStatic member LogGlobalAnalyticsEvent Creates and logs a custom analytics event that spans multiple tenants into the analytics pipeline.
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member RemapEventToDefaultZone
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ISerializableUsageEntry.GetObjectData

Top

See also

Reference

SPAnalyticsUsageEntry class

Microsoft.SharePoint.Administration namespace