ApplyRecordCreationAndUpdateRuleRequest.Target Property

 

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

Gets or sets the target for applying the rule.

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

Syntax

public EntityReference Target { get; set; }
Public Property Target As EntityReference

Property Value

Type: Microsoft.Xrm.Sdk.EntityReference

Returns EntityReference
The target for applying the rule.

Remarks

A target for this operation can be an activity or a queue item record.

When you pass an activity record that is associated with a queue, the rule created for the queue is applied. Otherwise, the rule created for the specified activity record is applied.

When incoming activities, such as emails, custom activities, and posts, from external integrated applications are added to a queue in CRM, a queue item record is created. If you specify a queue item record instead of an activity record as the target, the rule created for the specified queue and activity (determined by the queue item) will be applied.

See Also

ApplyRecordCreationAndUpdateRuleRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright