SPQueryUsageDefinition class
NOTE: This API is now obsolete.
Query usage definition for application analytics logging.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPUsageDefinition
Microsoft.SharePoint.Administration.SPUsageProvider
Microsoft.SharePoint.Administration.SPQueryUsageDefinition
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<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
'Usage
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
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.