Share via


KeywordQuery constructor (SPSite)

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

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

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

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

Parameters

See also

Reference

KeywordQuery class

KeywordQuery members

KeywordQuery overload

Microsoft.Office.Server.Search.Query namespace