Partilhar via


SPQueryUsageDefinition Constructor (SPFarm)

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

Syntax

'Declaration
Public Sub New ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarm

Dim instance As New SPQueryUsageDefinition(farm)
public SPQueryUsageDefinition(
    SPFarm farm
)

Parameters

See Also

Reference

SPQueryUsageDefinition Class

SPQueryUsageDefinition Members

SPQueryUsageDefinition Overload

Microsoft.SharePoint.Administration Namespace