Click or drag to resize
AccountHelperDelete Method
Deletes account. All related records are moved to parent account or deleted.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static void Delete(
	AccountInfo account,
	bool deleteMerged,
	bool deleteSubsidiaries
)

Parameters

account
Type: CMS.OnlineMarketingAccountInfo
Account to be deleted
deleteMerged
Type: SystemBoolean
Indicates if merged child accounts should be deleted as well or will be splitted before deleting parent account.
deleteSubsidiaries
Type: SystemBoolean
Indicates if subsidiary accounts should be deleted as well.
See Also