Share via


Query Constructor (SPSite)

Initializes a new instance of the Query class, based on the specified site.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    site As SPSite _
)
'Usage
Dim site As SPSite

Dim instance As New Query(site)
public Query(
    SPSite site
)

Parameters

See Also

Reference

Query Class

Query Members

Query Overload

Microsoft.SharePoint.Search.Query Namespace