SPSocialFeedManager.DeletePost(String) SPSocialFeedManager.DeletePost(String) SPSocialFeedManager.DeletePost(String) Method

Definition

Deletes the specified microblog post.

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

The unique identifier of the post to delete.

Returns

A digest of the modified thread, or a null reference (Nothing in Visual Basic) if the whole thread is deleted.

Remarks

If the post is a root post, the whole thread is deleted.

Applies to