Compartilhar via


SPWeb.SearchListItems method (String, UInt32, SPSearchResultCollectionPosition)

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. Use o método Execute da classe Microsoft.SharePoint.Search.Query.KeywordQuery ou a classe FullTextSqlQuery .

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Function SearchListItems ( _
    strSearchTerm As String, _
    nRowLimit As UInteger, _
    pagePos As SPSearchResultCollectionPosition _
) As SPSearchResultCollection
'Uso
Dim instance As SPWeb
Dim strSearchTerm As String
Dim nRowLimit As UInteger
Dim pagePos As SPSearchResultCollectionPosition
Dim returnValue As SPSearchResultCollection

returnValue = instance.SearchListItems(strSearchTerm, _
    nRowLimit, pagePos)
public SPSearchResultCollection SearchListItems(
    string strSearchTerm,
    uint nRowLimit,
    SPSearchResultCollectionPosition pagePos
)

Parâmetros

  • strSearchTerm
    Type: System.String

    O termo para procurar nas listas.

  • nRowLimit
    Type: System.UInt32

    O número máximo de linhas de itens retornados.

Valor retornado

Type: Microsoft.SharePoint.SPSearchResultCollection
Os resultados da pesquisa.

Comentários

Este método requer que Microsoft SQL Server ser instalado no servidor e que a pesquisa de texto completo está habilitada no SharePoint Foundation Administração Central.

Ver também

Referência

SPWeb class

SPWeb members

SearchListItems overload

Microsoft.SharePoint namespace