Click or drag to resize
LinkedInPostInfoProviderTryCancelScheduledPublishLinkedInPostInternal Method
Tries to cancel scheduled publish of LinkedIn post. If successful, the post can be modified using PublishLinkedInPost(Int32). (Has to be called before modification since LinkedIn does not allow published posts to be modified).

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
protected virtual bool TryCancelScheduledPublishLinkedInPostInternal(
	LinkedInPostInfo postInfo
)

Parameters

postInfo
Type: CMS.SocialMarketingLinkedInPostInfo
The LinkedInPostInfo that shall be canceled.

Return Value

Type: Boolean
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