SPUsageDefinition 类

An abstract class that is the common interface for defining a usage type. A corresponding SPUsageEntry class is used for doing the actual usage logging.

继承层次结构

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUsageDefinition
        Microsoft.SharePoint.Administration.SPUsageProvider

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPUsageDefinition 成员

Microsoft.SharePoint.Administration 命名空间