GetSearchScope(String) Method

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


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.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security