Share via


SPUsageService class

Settings for usage logging and processing in a SharePoint Services deployment.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPService
          Microsoft.SharePoint.Administration.SPUsageService

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

Syntax

'Declaration
<GuidAttribute("1db73734-b107-49f9-bb4b-9802a9ff2b6e")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPUsageService _
    Inherits SPService _
    Implements IServiceStaticDeployment, IServiceAdministration
'Usage
Dim instance As SPUsageService
[GuidAttribute("1db73734-b107-49f9-bb4b-9802a9ff2b6e")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPUsageService : SPService, 
    IServiceStaticDeployment, IServiceAdministration

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

SPUsageService members

Microsoft.SharePoint.Administration namespace