FacebookPostInfoProvider TryCancelScheduledPublishFacebookPostInternal Method Kentico 8.1 API Reference
Tries to cancel scheduled publish of Facebook post. If successful, the post can be modified using PublishFacebookPost(Int32). (Has to be called before modification since Facebook does not allow published posts to be modified). There is no need to call this method when deleting a post since posts can be deleted even after publication.

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

Return Value

Type: OnlineBoolean
True if successfully canceled (or neither post or scheduled task does not exist), false if the post has already been published (or the task is already running).
See Also