SetDefaultSearchScope(String) Method

The SetDefaultSearchScope method of the SearchScopes class sets the current search scope as the default search scope.

Parameters

strSearchScopeName The name of the new default search scope.

Return Value

A 32-bit signed integer that represents the index of the new default search scope in the search scopes list.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security