Share via


SPUsageProvider class

Common public abstract class for defining a usage type that is hosted in the logging database.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUsageDefinition
        Microsoft.SharePoint.Administration.SPUsageProvider
          

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

Syntax

'Declaration
<GuidAttribute("f30ffb65-5972-4e33-923f-5f0acf79b2c4")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPUsageProvider _
    Inherits SPUsageDefinition _
    Implements ILoggingProvider
'Usage
Dim instance As SPUsageProvider
[GuidAttribute("f30ffb65-5972-4e33-923f-5f0acf79b2c4")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPUsageProvider : SPUsageDefinition, 
    ILoggingProvider

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

SPUsageProvider members

Microsoft.SharePoint.Administration namespace

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUsageDefinition
        Microsoft.SharePoint.Administration.SPUsageProvider
          Microsoft.SharePoint.Administration.SPAnalyticsUsageDefinition
          Microsoft.SharePoint.Administration.SPBandwidthUsageDefinition
          Microsoft.SharePoint.Administration.SPClickthroughUsageDefinition
          Microsoft.SharePoint.Administration.SPClientServiceActionUsageDefinition
          Microsoft.SharePoint.Administration.SPClientServiceRequestUsageDefinition
          Microsoft.SharePoint.Administration.SPDatabaseWaitStatisticsProvider
          Microsoft.SharePoint.Administration.SPFeatureUsageDefinition
          Microsoft.SharePoint.Administration.SPFeatureUseProvider
          Microsoft.SharePoint.Administration.SPFileUsageDefinition
          Microsoft.SharePoint.Administration.SPPersistedObjectStatisticsProvider
          Microsoft.SharePoint.Administration.SPQueryUsageDefinition
          Microsoft.SharePoint.Administration.SPRatingUsageDefinition
          Microsoft.SharePoint.Administration.SPRequestUsageDefinition
          Microsoft.SharePoint.Administration.SPSimpleUsageEventLog
          Microsoft.SharePoint.Administration.SPSiteInfoUsageDefinition
          Microsoft.SharePoint.Administration.SPSiteInventoryUsageProvider
          Microsoft.SharePoint.Administration.SPSqlExceptionsUsageDefinition
          Microsoft.SharePoint.Administration.SPSqlIoUsageDefinition
          Microsoft.SharePoint.Administration.SPSqlLatencyUsageDefinition
          Microsoft.SharePoint.Administration.SPTaskUsageDefinition
          Microsoft.SharePoint.Administration.SPTimerJobUsageDefinition
          Microsoft.SharePoint.Administration.SPUsageUserCodeRequests
          Microsoft.SharePoint.Administration.SPUsageUserCodeRequestsMonitoredData
          Microsoft.SharePoint.Administration.SPUserProfileADImportUsageDefinition
          Microsoft.SharePoint.Administration.SPWebInfoUsageDefinition