Class ContactGroupRebuilder
- Namespace
- CMS.ContactManagement
- Assembly
- CMS.ContactManagement.dll
Class for contact group rebuilding.
public class ContactGroupRebuilder
- Inheritance
-
objectContactGroupRebuilder
- Extension Methods
Methods
RebuildGroup(ContactGroupInfo)
Rebuilds the whole contact group using the fastest possible rebuilder. This method works synchronously.
public void RebuildGroup(ContactGroupInfo contactGroup)
Parameters
contactGroup
ContactGroupInfoContact group to be rebuilt
RebuildPartOfContactGroup(ContactGroupInfo, ISet<int>)
Adds or removes specific contactIDs into the contact group.
public void RebuildPartOfContactGroup(ContactGroupInfo contactGroup, ISet<int> contactIDs)
Parameters
contactGroup
ContactGroupInfoContact group to be rebuilded
contactIDs
ISet<int>Contacts whose membership in the group will be reevaluated