Click or drag to resize
AccountHelper.Split Method (AccountInfo, IList<String>, Boolean, Boolean, Boolean)
Splits accounts from parent.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static void Split(
	AccountInfo parentAccount,
	IList<string> accounts,
	bool copyMissingFields,
	bool removeContacts,
	bool removeContactGroups
)

Parameters

parentAccount
Type: CMS.OnlineMarketing.AccountInfo
Parent account from which accounts are being splitted
accounts
Type: System.Collections.Generic.IList<String>
List of accounts to split
copyMissingFields
Type: System.Boolean
Indicates if empty fields on account to split should be filled with fields from merged account
removeContacts
Type: System.Boolean
Indicates if contacts related to splitted account should be removed from parent account
removeContactGroups
Type: System.Boolean
Indicates if contact groups related to splitted account should be removed from parent account
See Also