searchConnectorDescription 元素 (連結庫架構)
<searchConnectorDescription> 元素是搜尋連接器定義的最上層容器元素。 <searchConnectorDescription> 元素是與 Windows 同盟搜尋連接器相關聯的 <searchConnectorDescriptionType> 項目類型的延伸;不過,您無法在連結庫中包含 Windows 同盟搜尋或通訊協定處理程式的搜尋連接器。
語法
<!-- searchConnectorDescription -->
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="https://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:complexType name="searchConnectorDescriptionType">
<xs:all>
<xs:element name="isSearchOnlyItem" type="xs:boolean" default="false" minOccurs="0"/>
<xs:element name="isDefaultSaveLocation" type="xs:boolean" minOccurs="0"/>
<xs:element name="isDefaultNonOwnerSaveLocation" type="xs:boolean" minOccurs="0"/
<xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="iconReference" type="xs:string" minOccurs="0"/>
<xs:element name="imageLink" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="url" type="xs:anyURI"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="author" type="xs:string" minOccurs="0"/>
<xs:element name="dateCreated" type="xs:dateTime" minOccurs="0"/>
<xs:element name="templateInfo" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="folderType" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="simpleLocation" type="shellLinkType" minOccurs="0"/>
<xs:element name="locationProvider" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="propertyBag" type="propertyStoreType" minOccurs="0"/>
</xs:all>
<xs:attribute name="clsid" use="required"/>
<xs:attribute name="codebase" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="scope" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0">
<xs:element name="scopeItem" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="mode" default="Include">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Include"/>
<xs:enumeration value="Exclude"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="depth" default="Shallow" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Shallow"/>
<xs:enumeration value="Deep"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="url" type="xs:anyURI"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="propertyStore" type="propertyStoreType" minOccurs="0"/>
<xs:element name="includeInStartMenuScope" type="xs:boolean" default="false" minOccurs="0"/>
<xs:element name="domain" type="xs:string" minOccurs="0"/>
<xs:element name="supportsAdvancedQuerySyntax" type="xs:boolean" default="false" minOccurs="0"/>
<xs:element name="isIndexed" type="xs:boolean" minOccurs="0"/>
</xs:all>
<xs:attribute name="publisher" type="xs:string"/>
<xs:attribute name="product" type="xs:string"/>
</xs:complexType>
</xs:schema>
元素資訊
請參閱 Windows 搜尋 中的架構檔
Parent 元素 | 子專案 |
---|---|
searchConnectorDescriptionList 元素 (連結庫架構) | <isSearchOnlyI.tem> |
<描述> | |
<圖示參考> | |
<imageLink> | |
<作者> | |
<dateCreated> | |
<templateInfo> | |
<locationProvider> | |
<範圍> | |
<propertyStore> | |
<網域> | |
<支援AdvancedQuerySyntax> | |
<isDefaultSaveLocation> | |
<isDefaultNonOwnerSaveLocation> | |
<isIndexed> | |
<simpleLocation> | |
<includeInStartMenu> |
屬性
屬性 | 描述 |
---|---|
發行人 | 自選。 提供搜尋連接器之發行者的顯示名稱。 |
產品 | 自選。 搜尋連接器所套用之產品的顯示名稱。 |
言論
連結庫的 <searchConnectorDescription> 元素會使用與 Windows 同盟搜尋 <searchConnectorDescription> 相同的架構定義。 雖然它們使用相同的架構,但 Windows 同盟搜尋的搜尋連接器不能包含在連結庫中。
相關主題