SearchResults.GenerateQueryString Method
Generates the SQL Full-Text Search Syntax query that produces the current result set.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Overrides Function GenerateQueryString ( _
strKeyword As String, _
rgScopeList As ArrayList, _
strWhereAndPart As String, _
<OutAttribute> ByRef strSavedQuery As String _
) As String
'Usage
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
)
Parameters
strKeyword
Type: System.StringList of keywords specified for this query.
rgScopeList
Type: System.Collections.ArrayListList of search scopes specified for this query.
strWhereAndPart
Type: System.StringWHERE clause for the query.
strSavedQuery
Type: System.StringOut parameter that receives the return value from this method.
Return Value
Type: System.String
A string that contains the SQL Full-Text Search Syntax query that produces the current result set.