SPQueryUsageDefinition 类
请注意:此 API 现在已过时。
查询使用应用程序分析日志记录定义。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPUsageDefinition
Microsoft.SharePoint.Administration.SPUsageProvider
Microsoft.SharePoint.Administration.SPQueryUsageDefinition
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")> _
<GuidAttribute("AF82E8A4-4FF9-4d63-8A43-BD3FF93E2802")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPQueryUsageDefinition _
Inherits SPUsageProvider
用法
Dim instance As SPQueryUsageDefinition
[ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")]
[GuidAttribute("AF82E8A4-4FF9-4d63-8A43-BD3FF93E2802")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPQueryUsageDefinition : SPUsageProvider
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。