Compartilhar via


SPQueryUsageDefinition Class

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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("AF82E8A4-4FF9-4d63-8A43-BD3FF93E2802")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPQueryUsageDefinition _
    Inherits SPUsageProvider
'Usage
Dim instance As SPQueryUsageDefinition
[GuidAttribute("AF82E8A4-4FF9-4d63-8A43-BD3FF93E2802")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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.

See Also

Reference

SPQueryUsageDefinition Members

Microsoft.SharePoint.Administration Namespace