Compartilhar via


ScopeDisplayName

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

ScopeDisplayName specifies the display name for the search provider.

Values

Display_name

Specifies the display name for the search provider. 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 | ScopeDisplayName

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.

XML Example

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>https://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>

See Also

Concepts

Scope