OrganizationServiceContextExtensions.AddRecurrence Method (OrganizationServiceContext, Entity, Guid)

 

Applies To: Dynamics CRM 2015

Adds recurrence information to an existing appointment to make it a recurring appointment master. (Developer Extensions)

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

Syntax

public static Guid AddRecurrence(
    this OrganizationServiceContext context,
    Entity target,
    Guid appointmentId
)
public:
[ExtensionAttribute]
static Guid AddRecurrence(
    OrganizationServiceContext^ context,
    Entity^ target,
    Guid appointmentId
)
static member AddRecurrence : 
        context:OrganizationServiceContext *
        target:Entity *
        appointmentId:Guid -> Guid
<ExtensionAttribute>
Public Shared Function AddRecurrence (
    context As OrganizationServiceContext,
    target As Entity,
    appointmentId As Guid
) As Guid

Parameters

  • appointmentId
    Type: System.Guid

    The ID of the appointment that needs to be converted into a recurring appointment.

Return Value

Type: System.Guid

Returns a Guid, the ID of the newly created recurring appointment.

Remarks

This is a method wrapper for the AddRecurrenceRequest and AddRecurrenceResponse 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 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright