Hi,I am creating application which is similar to Worksite web.There is two option to delete the document.1. Remove from folder 2. Delete the documentI don'tknow how to achieve these two functionality.I try to delete document using parentFolders.ItemByIndex(1).Contents.RemoveByObject(currentDoc)andm_ConnectionInfo.UserSession.PreferredDatabase.DeleteDocument(docNumber, docVersion)In both case i am able to remove the document from the folder. i can able to retrive the document object when i give monikerId.Can any one clearly explain about the Deleting the document permanently and deleting Reference only? How to achieve these.Thanks,