AnalyticsEvent class

Use this control to create a new Analytics Event Log entry per rendering. The control will use the QueryStringValueName property to store the name of the QueryString value storing the ID of the SharePoint Item that the Log entry needs to be created for. Aditionaly, the EventUrlTemplate will contain the Web relative template of the URL that needs to be logged. Example: QueryStringValueName

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.AnalyticsEvent

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class AnalyticsEvent _
    Inherits WebControl
'Usage
Dim instance As AnalyticsEvent
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class AnalyticsEvent : WebControl

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

AnalyticsEvent members

Microsoft.SharePoint.WebControls namespace