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
web
Type: Microsoft.SharePoint.SPWebThe SharePoint site.