Table of Contents

Class ContactGroupRebuilder

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

Class for contact group rebuilding.

public class ContactGroupRebuilder
Inheritance
object
ContactGroupRebuilder
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 ContactGroupInfo

Contact 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 ContactGroupInfo

Contact group to be rebuilded

contactIDs ISet<int>

Contacts whose membership in the group will be reevaluated