SocialFeedManager.DeletePost method
SharePoint 2013
Deletes the specified microblog post.
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Parameters
- postId
- Type: System.String
The unique identifier of the post to delete.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<SocialThread>A digest of the modified thread, or null if the whole thread is deleted.
If the post is a root post, the whole thread is deleted. For a code example that shows how to delete a post, see How to: Create and delete posts and retrieve the social feed by using the .NET client object model.