共用方式為


propertyStore 元素 (搜尋連接器架構)

選擇性 < 的 propertyStore 元素會指定 XML 架構 IPropertyStore > 的位置,以儲存此搜尋連接器的開啟中繼資料。 這個專案沒有屬性,而且只有一個子項目。

Syntax

<!-- 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 的 property Element (Search Connector Schema)

 

範例

下列範例顯示具有兩 < 個 < 屬性 > 元素的 propertyStore > 元素。

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