Compartir a través de


Scope

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

Scope specifies a search provider.

Child Elements

Setting name Description Applies to which versions of Windows® Internet Explorer®

DisplayQuickPick

Specifies whether the Search Scope item appears as a Quick Pick icon.

Internet Explorer 8 through Internet Explorer 9

FaviconURL

Specifies the path to an icon for a specific Search Scope item.

Internet Explorer 8 through Internet Explorer 11

PreviewURL

Specifies the URL where previews are shown in the Accelerator window.

Internet Explorer 8 through Internet Explorer 11

ScopeDefault

Specifies whether the Search Scope item is the default search provider.

Internet Explorer 7 through Internet Explorer 11

ScopeDisplayName

Specifies the display name for the search provider.

Internet Explorer 7 through Internet Explorer 11

ScopeKey

Specifies the unique string for the search provider.

Internet Explorer 7 through Internet Explorer 11

ScopeUrl

Specifies the URL for the search provider.

Internet Explorer 7 through Internet Explorer 11

ShowSearchSuggestions

Specifies whether Search Suggestions are shown.

Internet Explorer 8 through Internet Explorer 11

ShowTopResult

Specifies whether the TopResult feature is used with search requests.

Internet Explorer 9 through Internet Explorer 11

SuggestionsURL

Specifies suggestions that appear to the user during a search, by using a search that is based on XML.

Internet Explorer 8 through Internet Explorer 11

SuggestionsURL_JSON

Specifies suggestions that appear to the user during a search, by using a search that is based on JavaScript Object Notation (JSON).

Internet Explorer 8 through Internet Explorer 11

TopResultURL

Specifies the complete URL of the page that shows the TopResult search results.

Internet Explorer 9 through Internet Explorer 11

Valid Configuration Passes

specialize

Parent Hierarchy

Microsoft-Windows-IE-InternetExplorer | SearchScopes | Scope

Applies To

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

XML Example

The following example 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

SearchScopes