Similar to this question, I need to permanently delete only specific items from the recycle bin. I need to know more than just their names, however, and SPRecycleBinItem seems to have only have a LeafName and DirName property, no Item property to see what the deleted item actually contains (I need the SPListItem).

Does anyone know if there's a way to actually get the deleted objects? Perhaps a hidden recycle bin list buried somewhere?

As for why I need to do this, I'm trying to design a way to programmatically delete content types that actually works.


1 Answer 1


When a user deletes a document seems like document binaries are deleted from table AllDocs to RecycleBin where it only keeps some information about document. These tables are in content database of that application.

I am not able to figure out as what it does with <Binary data> when a document record is moved from alldocs to recyclebin table. as this Binary data keeps all meta data about document and when you restore document, it uses it to restore document.

I don't think there is any easy way to get other properties of deleted document unless you do a hack which will going to be complex and HIGHLY NOT RECOMMENDED. You might want to change the logic of your solution.

  • 1
    Too bad. Maybe someday they'll actually improve the API.
    – MgSam
    Apr 23, 2013 at 16:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.