SPSocialFeedManager.UnlikePost(String) SPSocialFeedManager.UnlikePost(String) SPSocialFeedManager.UnlikePost(String) Method

Definition

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

public:
 Microsoft::Office::Server::Social::SPSocialThread ^ UnlikePost(System::String ^ postId);
[Microsoft.SharePoint.Client.ClientCallable]
public Microsoft.Office.Server.Social.SPSocialThread UnlikePost (string postId);
Public Function UnlikePost (postId As String) As SPSocialThread
Parameters
postId
String String String

The unique identifier of the post to stop liking.

Returns

A digest of the modified thread that includes the specified post.

Applies to