Click or drag to resize
ContactGroupMemberInfoProviderDeleteContactGroupMembers Method
Deletes relationships between specified contact groups and related objects (contact, account) defined in where condition.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static void DeleteContactGroupMembers(
	string where,
	int contactGroupID,
	bool deletingAccount,
	bool removeAccount
)

Parameters

where
Type: SystemString
Where condition
contactGroupID
Type: SystemInt32
Current groupID. Used only when deleting accounts and removing its contacts.
deletingAccount
Type: SystemBoolean
Indicates if deleting accounts. If TRUE then also contacts will be removed as well.
removeAccount
Type: SystemBoolean
If TRUE then account will be deleted, not only its contacts. Applicable only when deleting accounts.
See Also