Споделяне чрез


PropagateByExpressionRequest.QueryExpression Property

Definition

Gets or sets the query criteria to select accounts, contacts, or leads for which activities are created. 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 select accounts, contacts, or leads for which activities are created.

Remarks

Assign an instance of the class FetchExpression, QueryExpression, or QueryByAttribute. The query must specify an entity name and column set. If the column set includes attributes where IsValidForRead is false, they are ignored and the message response contains no data for those attributes. 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