AccountContactInfoProvider ResetAccountMainContacts Method Kentico 8.1 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.1.5347.20411)

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