includeInStartMenuScope 元素 (搜尋連接器架構)
選擇性的 Boolean <includeInStartMenuScope> 元素會指定此搜尋連接器是否應該包含在 [開始] 選單搜尋範圍中。 使用文件系統做為數據源的搜尋連接器預設值為 true,而屬性處理程式所使用的搜尋連接器則為 false。 這個項目沒有子專案,也沒有屬性。
語法
<!-- includeInStartMenuScope -->
<xs:complexType name="searchConnectorDescriptionType">
<xs:all>
...
<xs:element name="includeInStartMenuScope" type="xs:boolean" default="false" minOccurs="0"/>
...
</xs:all>
<xs:attribute name="publisher" type="xs:string"/>
<xs:attribute name="product" type="xs:string"/>
</xs:complexType>
元素資訊
Parent 元素 | 子專案 |
---|---|
searchConnectorDescriptionType 元素 (搜尋連接器架構) |
言論
如果您在 [開始] 功能表範圍中包含搜尋連接器,使用者可以從 [開始] 選單中的搜尋方塊搜尋您的位置。
例
<?xml version="1.0" encoding="UTF-8"?>
<searchConnectorDescription xmlns="https://schemas.adventureworks.com/searchConnector">
...
<includeinStartMenuScope>true</includeinStartMenuScope>
...
</searchConnectionDescription>