Query.SiteContext 属性 (Microsoft.Office.Server.Search.Query)

Gets or sets the site URL for the search query.

命名空间: Microsoft.Office.Server.Search.Query
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Property SiteContext As Uri
用法
Dim instance As Query
Dim value As Uri

value = instance.SiteContext

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

属性值

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

另请参阅

参考

Query 类
Query 成员
Microsoft.Office.Server.Search.Query 命名空间