Share via


SPQueryUsageDefinition.Local property

NOTE: This API is now obsolete.

Gets an instance of this usage definition from the local farm. If an instance does not exists a new one is created and returned.

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.")> _
Public Shared ReadOnly Property Local As SPQueryUsageDefinition
    Get
'Usage
Dim value As SPQueryUsageDefinition

value = SPQueryUsageDefinition.Local
[ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")]
public static SPQueryUsageDefinition Local { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPQueryUsageDefinition
A SPQueryUsageDefinition object.

See also

Reference

SPQueryUsageDefinition class

SPQueryUsageDefinition members

Microsoft.SharePoint.Administration namespace