ScopeDisplayNameScopeDisplayName
ScopeDisplayName
指定的搜尋提供者的顯示名稱。ScopeDisplayName
specifies the display name for the search provider.
值Values
Display_nameDisplay_name |
指定的搜尋提供者的顯示名稱。Specifies the display name for the search provider. Display_name是一個字串。Display_name is a string. |
此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.
有效的設定階段Valid Configuration Passes
特製化specialize
父階層Parent Hierarchy
Microsoft-Windows-IE-InternetExplorer | SearchScopes | Scope | ScopeDisplayNameMicrosoft-Windows-IE-InternetExplorer | SearchScopes | Scope | ScopeDisplayName
套用至Applies To
如需支援的 Windows 版本與此元件支援的架構,請參閱Microsoft Windows-IE InternetExplorer。For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.
XML 範例XML Example
下列的 XML 輸出會顯示如何設定搜尋提供者。The following XML output shows how to set search providers.
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>MyFirstSearchProvider</ScopeDisplayName>
<ScopeKey>SearchProvider1</ScopeKey>
<ScopeUrl>http://www.contoso.com/search?q={searchTerms}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName>
<ScopeKey>SearchProvider2</ScopeKey>
<ScopeUrl>http://search.fabrikam.com/results.aspx?q="{searchTerms}"</ScopeUrl>
</Scope>
</SearchScopes>