共用方式為


SPQueryUsageEntry class

NOTE: This API is now obsolete.

擷取 SQL 查詢的使用狀況資料記錄計時器工作。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPUsageEntry
    Microsoft.SharePoint.Administration.SPQueryUsageEntry

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<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

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.

請參閱

參照

SPQueryUsageEntry members

Microsoft.SharePoint.Administration namespace