AccountHelperDelete Method |
Deletes account. All related records are moved to parent account or deleted.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax 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