KeywordQuery.EnableUrlSmashing 属性
适用于: Microsoft SharePoint Server 2010 搜索功能
获取或设置一个布尔值,指定是否启用 URL smashing。
命名空间: Microsoft.Office.Server.Search.Query
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Property EnableUrlSmashing As Boolean
Get
Set
用法
Dim instance As KeywordQuery
Dim value As Boolean
value = instance.EnableUrlSmashing
instance.EnableUrlSmashing = value
public bool EnableUrlSmashing { get; set; }
属性值
类型:System.Boolean
true如果启用 URL smashing ;否则为false。
备注
Smashing 的 URL 是用户的查询创建一个 URL 中将条款的过程。例如,如果您查询的"移动窗口",没有使用名称http://windowsmobile的网站,该网站将作为您的第一个结果返回。