Click or drag to resize
LinkedInPostInfoProviderTryCancelScheduledPublishLinkedInPost Method (Int32)
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: 13.0.131
Syntax
C#
public static bool TryCancelScheduledPublishLinkedInPost(
	int postInfoId
)

Parameters

postInfoId
Type: SystemInt32
Identifier of the LinkedInPostInfo that shall be canceled.

Return Value

Type: Boolean
True if successfully canceled, false if the post has already been published.
See Also