次の方法で共有


SPUsageDatabase class

Stores 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.SPDatabase
          Microsoft.SharePoint.Administration.SPUsageDatabase

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

Syntax

'Declaration
<GuidAttribute("f1db1dc8-01b7-4d73-a253-c679894640f4")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPUsageDatabase _
    Inherits SPDatabase
'Usage
Dim instance As SPUsageDatabase
[GuidAttribute("f1db1dc8-01b7-4d73-a253-c679894640f4")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPUsageDatabase : SPDatabase

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

SPUsageDatabase members

Microsoft.SharePoint.Administration namespace