Interface IContactsDeleteService
- Namespace
- CMS.ContactManagement
- Assembly
- CMS.ContactManagement.dll
Provides functionality for deleting contacts in bulk.
[Obsolete("Use IContactsBulkDeletionService for async contact deletion instead. This method will be removed in the next version.")]
public interface IContactsDeleteService
- Extension Methods
Methods
BulkDelete(string, int)
Deletes contacts in batches and their associated objects (e.g. activities, contact group relations, customer journeys data) using a stored procedure.
void BulkDelete(string where, int batchLimit)
Parameters
wherestringWhere condition to constrain the delete (
nullor an emptystringdelete all records).batchLimitintBatch limit.
Remarks
Service does not secure successful deletion of all data when an unexpected state (e.g. timeout) occurs, which can result in the partial deletion of the associated objects.