SPQueryUsageEntry 类
请注意:此 API 现在已过时。
捕获 SQL 查询使用率数据记录的计时器作业。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPUsageEntry
Microsoft.SharePoint.Administration.SPQueryUsageEntry
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<SerializableAttribute> _
<ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPQueryUsageEntry _
Inherits SPUsageEntry _
Implements ISerializableUsageEntry
用法
Dim instance As SPQueryUsageEntry
[SerializableAttribute]
[ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPQueryUsageEntry : SPUsageEntry,
ISerializableUsageEntry
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。