SPSearchResultCollectionPosition Class

The SPSearchResultCollectionPosition class supports paging through the results of a search and storing the state that is required to get the next page of data.

System.Object

   Microsoft.SharePoint.SPSearchResultCollectionPosition

Public Constructors

The following table shows the public constructors of the SPSearchResultCollectionPosition class and a brief description of each.

Name Description
SPSearchResultCollectionPosition Initializes a new instance of the SPSearchResultCollectionPosition class.

Public Methods

The following table shows the public methods of the SPSearchResultCollectionPosition class and a brief description of each.

Name Description
ToString Returns the position in the paged view of the search results.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

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

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security