Click or drag to resize
AccountContactInfoProviderResetAccountMainContacts Method
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.2.23
Syntax
C#
public static void ResetAccountMainContacts(
	int accountId,
	int contactId,
	string where
)

Parameters

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