Share via


KeywordQuery Class

Represents a search query using the Enterprise Search keyword syntax.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.Search.Query.Query
    Microsoft.Office.Server.Search.Query.KeywordQuery

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

Syntax

'Declaration
Public NotInheritable Class KeywordQuery _
    Inherits Query
'Usage
Dim instance As KeywordQuery
public sealed class KeywordQuery : Query

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Enterprise Search Keyword Syntax Reference

Enterprise Search Query Object Model Overview

Walkthrough: Creating a Custom Enterprise Search Web Part