Compartir por


FullTextSearchKnowledgeArticleRequest.QueryExpression Property

Definition

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

public:
 property Microsoft::Xrm::Sdk::Query::QueryBase ^ QueryExpression { Microsoft::Xrm::Sdk::Query::QueryBase ^ get(); void set(Microsoft::Xrm::Sdk::Query::QueryBase ^ value); };
public Microsoft.Xrm.Sdk.Query.QueryBase QueryExpression { get; set; }
member this.QueryExpression : Microsoft.Xrm.Sdk.Query.QueryBase with get, set
Public Property QueryExpression As QueryBase

Property Value

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.

Applies to