共用方式為


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

Syntax

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