次の方法で共有


SPQueryUsageEntry class

NOTE: This API is now obsolete.

Captures SQL query usage data logged for timer jobs.

Inheritance hierarchy

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

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

Syntax

'Declaration
<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
'Usage
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.

See also

Reference

SPQueryUsageEntry members

Microsoft.SharePoint.Administration namespace