網域元素 (搜尋連接器結構描述)

選擇性 <網域> 專案會指定此搜尋連接器所使用的搜尋服務的 URL。 它會顯示在詳細資料窗格中。 這個項目沒有子專案,也沒有屬性。

語法

<!-- domain -->
    <xs:complexType name="searchConnectorDescriptionType">
        <xs:all>
            ...
            <xs:element name="domain" type="xs:string" minOccurs="0"/>
            ...
        </xs:all>
        <xs:attribute name="publisher" type="xs:string"/>
        <xs:attribute name="product" type="xs:string"/>
    </xs:complexType>

元素資訊

Parent 元素 子專案
searchConnectorDescriptionType 元素 (搜尋連接器架構)  

 

言論

URL 應該是搜尋提供者的最上層網域。 例如,https://www.example.com。

例

<?xml version="1.0" encoding="UTF-8"?>
<searchConnectorDescription xmlns="https://schemas.adventureworks.com/searchConnector">
    ...
    <domain>https://www.adventureworks.com</domain>
    ...
</searchConnectionDescription>