Share via


KeywordQuery.SearchTerms property

Gets the terms used for the search query.

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

Syntax

'Declaration
Public ReadOnly Property SearchTerms As String
    Get
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.SearchTerms
public string SearchTerms { get; }

Property value

Type: System.String
A string containing the search terms.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace