Click or drag to resize
IDeleteContactsDelete Method
Deletes batch of contacts for given site.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
int Delete(
	SiteInfo site,
	int days,
	int batchSize
)

Parameters

site
Type: CMS.SiteProviderSiteInfo
The site on which the contact deletion was requested
days
Type: SystemInt32
Days that are set in the settings. Is used to delete contacts older than this number of days.
batchSize
Type: SystemInt32
Size of the batch that should be deleted at most.

Return Value

Type: Int32
Number of contacts remaining to delete.
See Also