Condividi tramite


FullTextSearchKnowledgeArticleRequest.QueryExpression Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the query criteria to find knowledge articles with specified text. Required.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public QueryBase QueryExpression { get; set; }
Public Property QueryExpression As QueryBase

Property Value

Type: Microsoft.Xrm.Sdk.Query.QueryBase

Type: QueryBase
The query criteria to find knowledge articles with specified text.

Remarks

Assign an instance of the FetchExpression, QueryExpression or QueryByAttribute class. The FullTextSearchKnowledgeArticleRequest message supports all the filtering, sorting, and paging techniques that are supported by FetchXML and QueryExpression. More information: Build queries with FetchXML and Build queries with QueryExpression. If you do not specify a sorting condition (order), search results are by default sorted by relevance.

When using QueryExpression, the query must specify the entity name “knowledgearticle” and a ColumnSet. If the column set includes attributes that are not valid for retrieve or for which you do not have access, they will be ignored. For more information about field security, see How field security can be used to control access to field values in Microsoft Dynamics 365.

See Also

FullTextSearchKnowledgeArticleRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright