Table of Contents

Interface IDeleteContacts

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

Deletes contacts on one site based on settings (days, batch size).

[Obsolete("Interface was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(29, 5)]
public interface IDeleteContacts
Extension Methods

Methods

Delete(int, int)

Deletes batch of contacts.

int Delete(int days, int batchSize)

Parameters

days int

Days that are set in the settings. Is used to delete contacts older than this number of days.

batchSize int

Size of the batch that should be deleted at most.

Returns

int

Number of contacts remaining to delete.