MoveSearchScope(String, Boolean) Method

The MoveSearchScope method of the SearchScopes class moves a scope up or down in the list. The sequence of scopes that appears in the UI is changed.


strSearchScopeName The name of the SearchScope object to be moved.

fIsMoveUp true if the SearchScope object is to be moved up; otherwise, false.

Return Value

A 32-bit signed integer that represents the new location of the SearchScope object.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security