Click or drag to resize
ActivityInfoProviderBulkMoveActivitiesToAnotherContact Method
Moves all activities assigned to the contact identified by given sourceContactID to the contact identified by targetContactID.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 12.0.0
Syntax
C#
public static void BulkMoveActivitiesToAnotherContact(
	int sourceContactID,
	int targetContactID
)

Parameters

sourceContactID
Type: SystemInt32
Identifier of the contact the activities are moved from
targetContactID
Type: SystemInt32
Identifier of the contact the activities are moved to
Remarks
This method should be used only in the merging process. Note that there is no consistency check on whether the contacts with given IDs exist or not (nor is the foreign key check in DB). Caller of this method should perform all the necessary checks prior to the method invocation.
See Also