This topic has not yet been rated - Rate this topic

SocialFeedManager.DeletePost method

SharePoint 2013

Deletes the specified microblog post.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
public ClientResult<SocialThread> DeletePost(
	string postId
)

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.