LocationType 元素(位置定义)

指定联合搜索位置的类型。

<LocationType>LocalSharePoint|OpenSearch</LocationType>

属性

属性

说明

不适用

子元素

无。

父元素

OpenSearchDescription 元素(位置定义)

Remarks

如果 URL 元素存在,但是未在 URL 元素的 Type 属性中指定已知的搜索结果格式,则需要 LocationType 元素。您可以指定以下一种位置类型:

  • LocalSharePoint 为本地 SharePoint 网站指定这种类型。这是默认值。

  • OpenSearch 为远程 SharePoint 网站和其他 OpenSearch 提供程序指定这种类型。

**可选:**否

xmlns: "https://schemas.microsoft.com/Search/2007/location"

See Also

概念

联合搜索概述