Query.SiteContext property

Gets or sets the site URL for the search query.

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

public Uri SiteContext { get; set; }

Property value

Type: System.Uri
A System.Uri object that represents the site's URL.
Show: