KeywordQuery class
NOTE: This API is now obsolete.
Represents a search query that uses the Keyword syntax.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Search.Query.Query
Microsoft.SharePoint.Search.Query.KeywordQuery
Namespace: Microsoft.SharePoint.Search.Query
Assembly: Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class KeywordQuery _
Inherits Query
'Usage
Dim instance As KeywordQuery
[ObsoleteAttribute("This class is obsolete.")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
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.