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 InternetExplorerFor 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=&quot;{searchTerms}&quot;</ScopeUrl>
   </Scope>
</SearchScopes>

ScopeScope