Query::Site property

Gets the site from where the search query is run from.

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

No code example is currently available or this language may not be supported.

Property value

Type: Microsoft.SharePoint.SPSite
The site for the search query.
Show: