다음을 통해 공유


Query.SiteContext Property

Gets or sets the site URL for the search query.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.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.SharePoint.Search.Query Namespace