GetSearchScope(String) Method

The GetSearchScope method of the SearchScopes class gets a SearchScope object for this SearchScopes collection.

Parameters

strScopeName   The name of the SearchScope object.

Return Value

The Microsoft.SharePoint.Portal.Search.ObjectModel.SearchScope that is retrieved. The GetSearchScope method returns null if the SearchScope object does not exist.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security