Share via

SPSocialFeedManager.DeletePost method

Deletes the specified microblog post.

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


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

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


  • postId
    Type: System.String

    The unique identifier of the post to delete.

Return value

Type: Microsoft.Office.Server.Social.SPSocialThread
A digest of the modified thread, or a null reference (Nothing in Visual Basic) if the whole thread is deleted.


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

See also


SPSocialFeedManager class

SPSocialFeedManager members

Microsoft.Office.Server.Social namespace