Click or drag to resize
AccountHelperSplit Method (AccountInfo, IListString, 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.OnlineMarketingAccountInfo
Parent account from which accounts are being splitted
accounts
Type: System.Collections.GenericIListString
List of accounts to split
copyMissingFields
Type: SystemBoolean
Indicates if empty fields on account to split should be filled with fields from merged account
removeContacts
Type: SystemBoolean
Indicates if contacts related to splitted account should be removed from parent account
removeContactGroups
Type: SystemBoolean
Indicates if contact groups related to splitted account should be removed from parent account
See Also