OrganizationServiceContextExtensions.AddRecurrence Method (OrganizationServiceContext, Entity, Guid)
Applies To: Dynamics CRM 2013
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
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
target
Type: Microsoft.Xrm.Sdk.EntityThe recurring appointment master record to which the appointment is converted.
appointmentId
Type: System.GuidThe 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 2013
Return to top