共用方式為


SPUsageDefinition class

抽象類別所定義的使用類型的通用介面。對應的SPUsageEntry類別用來實際使用狀況記錄。

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

'宣告
<GuidAttribute("D4747E3A-0347-412f-B6D3-28066AF203A9")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPUsageDefinition _
    Inherits SPPersistedObject
'用途
Dim instance As SPUsageDefinition
[GuidAttribute("D4747E3A-0347-412f-B6D3-28066AF203A9")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPUsageDefinition : SPPersistedObject

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.

請參閱

參照

SPUsageDefinition members

Microsoft.SharePoint.Administration namespace