ContactGroupMemberInfoProviderDeleteContactGroupMembers Method |
Deletes relationships between specified contact groups and related objects (contact, account) defined in where condition.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntaxpublic 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