Dela via


OrganizationServiceContextExtensions.PropagateByExpression Method (OrganizationServiceContext, QueryBase, String, Boolean, Entity, Guid, Object, Boolean, EntityReference, Boolean, Guid)

 

Applies To: Dynamics CRM 2013

Distributes an activity to a quick campaign. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static Guid PropagateByExpression(
    this OrganizationServiceContext context,
    QueryBase queryExpression,
    string friendlyName,
    bool executeImmediately,
    Entity activity,
    Guid templateId,
    object ownershipOptions,
    bool postWorkflowEvent,
    EntityReference owner,
    bool sendEmail,
    Guid queueId
)
public:
[ExtensionAttribute]
static Guid PropagateByExpression(
    OrganizationServiceContext^ context,
    QueryBase^ queryExpression,
    String^ friendlyName,
    bool executeImmediately,
    Entity^ activity,
    Guid templateId,
    Object^ ownershipOptions,
    bool postWorkflowEvent,
    EntityReference^ owner,
    bool sendEmail,
    Guid queueId
)
static member PropagateByExpression : 
        context:OrganizationServiceContext *
        queryExpression:QueryBase *
        friendlyName:string *
        executeImmediately:bool *
        activity:Entity *
        templateId:Guid *
        ownershipOptions:Object *
        postWorkflowEvent:bool *
        owner:EntityReference *
        sendEmail:bool *
        queueId:Guid -> Guid
<ExtensionAttribute>
Public Shared Function PropagateByExpression (
    context As OrganizationServiceContext,
    queryExpression As QueryBase,
    friendlyName As String,
    executeImmediately As Boolean,
    activity As Entity,
    templateId As Guid,
    ownershipOptions As Object,
    postWorkflowEvent As Boolean,
    owner As EntityReference,
    sendEmail As Boolean,
    queueId As Guid
) As Guid

Parameters

Return Value

Type: System.Guid

Returns Guid.

Remarks

This is a method wrapper for the PropagateByExpressionRequest and PropagateByExpressionResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top