Share via


SearchListItems(String) Method

The SearchListItems method of the SPWeb class searches list data in the Web site for the specified string.

Parameters

strSearchTerm   The string to search for in the lists.

Return Value

A Microsoft.SharePoint.SPSearchResultCollection object that represents the search results.

Remarks

Use of this method requires that Microsoft SQL Server be installed on the server and that you enable full-text search in SharePoint Central Administration.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security