Query.Site Property
Gets the site the search query is executed from.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public ReadOnly Property Site As SPSite
Get
'Usage
Dim instance As Query
Dim value As SPSite
value = instance.Site
public SPSite Site { get; }
Property Value
Type: Microsoft.SharePoint.SPSite
The site for the search query.