propertyStore 元素 (搜索连接器架构)

可选的 <propertyStore> 元素指定基于 XML 的 IPropertyStore 的位置,用于存储此搜索连接器的打开元数据。 此元素没有属性,只有一个子元素。

语法

<!-- propertyStore -->
    <xs:complexType name="searchConnectorDescriptionType">
        <xs:all>
        ...
        <xs:element name="propertyStore" type="propertyStoreType" minOccurs="0">
            <xs:element name="property" minOccurs="0" maxOccurrs="unbounded"/>
        </xs:element>
        ...
        </xs:all>
        <xs:attribute name="publisher" type="xs:string"/>
        <xs:attribute name="product" type="xs:string"/>
    </xs:complexType>

元素信息

Parent 元素 子元素
searchConnectorDescriptionType 元素(搜索连接器架构) propertyStore 的属性元素(搜索连接器架构)

 

以下示例显示了一个具有两个 <属性> 元素的 <propertyStore> 元素。

<propertyStore>
    <property name="OpenSearchHTMLRolloverTemplate">https://www.adventureworks.com/Search/?Query={searchTerms}</property>
    <property name="isExternal" type="boolean">true</property>
</propertyStore>