Compartilhar via


KeywordQuery class

Representa uma consulta de pesquisa que usa a sintaxe de palavra-chave SharePoint Server 2013 . Essa sintaxe pode conter a linguagem de consulta de palavra-chave (KQL) ou FAST Query Language (FQL). Para obter informações sobre como criar consultas de palavra-chave, consulte o Building search queries.

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

'Declaração
<DataContractAttribute(Namespace := "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class KeywordQuery _
    Inherits Query
'Uso
Dim instance As KeywordQuery
[DataContractAttribute(Namespace = "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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.

Ver também

Referência

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace