KeywordQuery constructor (SPWeb)

SharePoint 2013

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)

public KeywordQuery(
	SPWeb web
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb

The SharePoint site.

Show: