KeywordQuery constructor (SPWeb)

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

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

Syntax

'Declaration
Public Sub New ( _
    web As SPWeb _
)
'Usage
Dim web As SPWeb

Dim instance As New KeywordQuery(web)
public KeywordQuery(
    SPWeb web
)

Parameters

See also

Reference

KeywordQuery class

KeywordQuery members

KeywordQuery overload

Microsoft.Office.Server.Search.Query namespace