SPQueryUsageDefinition constructor (SPFarm)
NOTE: This API is now obsolete.
Initializes a new instance of the [Microsoft.SharePoint.Administration.SPQueryUsageDefinition] class within the given SharePoint Farm.
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 Sub New ( _
farm As SPFarm _
)
'Usage
Dim farm As SPFarm
Dim instance As New SPQueryUsageDefinition(farm)
[ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")]
public SPQueryUsageDefinition(
SPFarm farm
)
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmA [Microsoft.SharePoint.Administration.SPFarm] object.
See also
Reference
SPQueryUsageDefinition members