Partager via


SearchResults.GenerateQueryString, méthode (Microsoft.SharePoint.Portal.WebControls)

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

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Protected Overrides Function GenerateQueryString ( _
    strKeyword As String, _
    rgScopeList As ArrayList, _
    strWhereAndPart As String, _
    <OutAttribute> ByRef strSavedQuery As String _
) As String
'Utilisation
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
)

Paramètres

  • 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.

Valeur de retour

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

Voir aussi

Référence

SearchResults, classe
Membres SearchResults
Microsoft.SharePoint.Portal.WebControls, espace de noms