Share via


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