Click or drag to resize
ContactHelperDelete Method
Deletes contact. All related records are moved to parent contact or deleted.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static void Delete(
	ContactInfo contact,
	bool deleteMerged,
	bool moveActivities
)

Parameters

contact
Type: CMS.OnlineMarketingContactInfo
Contact to be deleted
deleteMerged
Type: SystemBoolean
Indicates if merged child contacts should be deleted as well or will be splitted before deleting parent contact.
moveActivities
Type: SystemBoolean
Indicates if activities, relationships, IPs and UserAgents created on merged contact should be moved to parent contact.
See Also