ScopeKey specifies a unique string for a search provider.

Values

Scope_key

Specifies a unique string for a search provider.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Configuration Passes

specialize

Parent Hierarchy

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.

  Copy Code
<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>

See Also

Concepts

Scope