Compartir a través de


: SearchResults.GenerateQueryString (Método) (Microsoft.SharePoint.Portal.WebControls)

Generates the SQL Full-Text Search Syntax query that produces the current result set.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Protected Overrides Function GenerateQueryString ( _
    strKeyword As String, _
    rgScopeList As ArrayList, _
    strWhereAndPart As String, _
    <OutAttribute> ByRef strSavedQuery As String _
) As String
'Uso
Dim strKeyword As String
Dim rgScopeList As ArrayList
Dim strWhereAndPart As String
Dim strSavedQuery As String
Dim returnValue As String

returnValue = Me.GenerateQueryString(strKeyword, rgScopeList, strWhereAndPart, strSavedQuery)
protected override string GenerateQueryString (
    string strKeyword,
    ArrayList rgScopeList,
    string strWhereAndPart,
    out string strSavedQuery
)

Parámetros

  • strKeyword
    List of keywords specified for this query.
  • rgScopeList
    List of search scopes specified for this query.
  • strWhereAndPart
    WHERE clause for the query.
  • strSavedQuery
    Out parameter that receives the return value from this method.

Valor devuelto

A string that contains the SQL Full-Text Search Syntax query that produces the current result set.

Vea también

Referencia

SearchResults (Clase)
SearchResults (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)