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)

Syntax

'Declaration
Public Property SiteContext As Uri
    Get
    Set
'Usage
Dim instance As Query
Dim value As Uri

value = instance.SiteContext

instance.SiteContext = value
public Uri SiteContext { get; set; }

Property value

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

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace