SPSocialAttachmentActionKind enumeration

SharePoint 2013

Specifies the type of action that an SPSocialAttachmentAction performs.

Namespace:  Microsoft.Office.Server.Social
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public enum SPSocialAttachmentActionKind

Member nameDescription
NavigateOpen the SPSocialAttachmentAction.ActionUriin a new tab. Value = 0.
AdHocActionOpen the SPSocialAttachmentAction.ActionUri according to the attachment type. Value = 1.

AdHocAction is happens in context, depending on the AttachmentKind (for example, open the ActionUri in the post's preview area).