AccountContactInfoProvider ResetAccountMainContactsInternal Method Kentico 8.0 API Reference
Resets main contact IDs of account(s) to NULL if any of the contacts, specified by where-condition, was set as primary or secondary contact.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

accountId
Type: OnlineSystem Int32
Account ID - required if called from specific account
contactId
Type: OnlineSystem Int32
Contact ID - required if called from specific contact
where
Type: OnlineSystem String
Where condition
See Also