ContactGroupInfoProvider EnableScheduledTask Method Kentico 8.1 API Reference
Enables scheduled task connected to the given contact group. If such task does not exits, creates a new one.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

contactGroup
Type: CMS.OnlineMarketing ContactGroupInfo
Contact group containing the scheduled task
Exceptions

ExceptionCondition
OnlineSystem ArgumentExceptionTask info ID provided in contactGroup is null. -or-Task info with ID provided in contactGroup does not exist.
OnlineSystem ArgumentNullExceptioncontactGroup is null
See Also