TwitterPostInfoProviderTryCancelScheduledPublishTwitterPost Method (Int32) |
Tries to cancel scheduled publish of Twitter post. If successful, the post can be modified using
PublishTwitterPost(Int32).
(Has to be called before modification since Twitter 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.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 12.0.0
Syntax public static bool TryCancelScheduledPublishTwitterPost(
int postInfoId
)
Parameters
- postInfoId
- Type: SystemInt32
Identifier of the TwitterPostInfo that shall be canceled.
Return Value
Type:
BooleanTrue if successfully canceled, false if the post has already been published.
See Also