Share via


SharePointSearchRuntime.SetAndRetrieveQueryTermOnly method

Retrieves just the keywords returned for the full search query.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function SetAndRetrieveQueryTermOnly ( _
    FullQueryText As String _
) As String
'Usage
Dim instance As SharePointSearchRuntime
Dim FullQueryText As String
Dim returnValue As String

returnValue = instance.SetAndRetrieveQueryTermOnly(FullQueryText)
public string SetAndRetrieveQueryTermOnly(
    string FullQueryText
)

Parameters

Return value

Type: System.String
A string containing just the keywords.

See also

Reference

SharePointSearchRuntime class

SharePointSearchRuntime members

Microsoft.Office.Server.Search.Query namespace