Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

KeywordQuery Class

Represents a search query that uses the SharePoint Enterprise Search keyword syntax. For information about constructing keyword queries, see the Keyword Query Syntax Reference.

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)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class KeywordQuery : Query

For FAST Search Server 2010 for SharePoint, you can also specify the query using the FAST Query Language (FQL) syntax.

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