Share via

SPSocialFeedManager.UnlikePost method

Removes the current user from the list of likers for the specified microblog post.

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


Public Function UnlikePost ( _
    postId As String _
) As SPSocialThread
Dim instance As SPSocialFeedManager
Dim postId As String
Dim returnValue As SPSocialThread

returnValue = instance.UnlikePost(postId)
public SPSocialThread UnlikePost(
    string postId


  • postId
    Type: System.String

    The unique identifier of the post to stop liking.

Return value

Type: Microsoft.Office.Server.Social.SPSocialThread
A digest of the modified thread that includes the specified post.

See also


SPSocialFeedManager class

SPSocialFeedManager members

Microsoft.Office.Server.Social namespace