ContactGroupInfoProvider DisableScheduledTask Method Kentico 8.1 API Reference
Disables scheduled task connected to the given contact group.

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