Partager 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