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.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
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