Click or drag to resize
LinkedInPostInfoProviderGetPostPublishStateMessage Method
Gets localized message that describes the post's publish state.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
public static string GetPostPublishStateMessage(
	LinkedInPostInfo post,
	IUserInfo user = null,
	ISiteInfo site = null,
	bool shortMessage = false
)

Parameters

post
Type: CMS.SocialMarketingLinkedInPostInfo
LinkedIn post.
user (Optional)
Type: CMS.BaseIUserInfo
User whose time zone will be used when formating date time information.
site (Optional)
Type: CMS.BaseISiteInfo
Site whose time zone will be used when formating date time information.
shortMessage (Optional)
Type: SystemBoolean
Indicates if short message has to be used instead of detail message.

Return Value

Type: String
Localized status message.
See Also