KeywordQuery constructor (SPSite)
NOTE: This API is now obsolete.
Initializes a new instance of the KeywordQuery class based on the specified site.
Namespace: Microsoft.SharePoint.Search.Query
Assembly: Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Sub New ( _
site As SPSite _
)
'Usage
Dim site As SPSite
Dim instance As New KeywordQuery(site)
[ObsoleteAttribute("This class is obsolete.")]
public KeywordQuery(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteA SPSite specifying the site.