SPWeb.SearchListItems method (String)
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 _
) As SPSearchResultCollection
'Uso
Dim instance As SPWeb
Dim strSearchTerm As String
Dim returnValue As SPSearchResultCollection
returnValue = instance.SearchListItems(strSearchTerm)
public SPSearchResultCollection SearchListItems(
string strSearchTerm
)
Parâmetros
strSearchTerm
Type: System.StringO termo para procurar nas listas.
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.