Condividi tramite


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)
Available in Sandboxed Solutions: No

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.SPClickthroughUsageDefinition
          Microsoft.SharePoint.Administration.SPFeatureUsageDefinition
          Microsoft.SharePoint.Administration.SPQueryUsageDefinition
          Microsoft.SharePoint.Administration.SPRatingUsageDefinition
          Microsoft.SharePoint.Administration.SPRequestUsageDefinition
          Microsoft.SharePoint.Administration.SPSiteInventoryUsageProvider
          Microsoft.SharePoint.Administration.SPTimerJobUsageDefinition
          Microsoft.SharePoint.Administration.SPUsageUserCodeRequests
          Microsoft.SharePoint.Administration.SPUsageUserCodeRequestsMonitoredData