220.127.116.11 Deleting a Folder
To be deleted, a folder MUST exist, and the client needs the access rights to delete it. To delete a folder, the client sends a RopDeleteFolderROP request ([MS-OXCROPS] section 18.104.22.168). If the folder is not empty, the client sets the DeleteFolderFlags field to delete all existing subfolders and messages, as specified in section 22.214.171.124.1. The DeleteFolderFlags field can also be used to specify a hard deletion, when the DELETE_HARD_DELETE bit is set. The PartialCompletion field of the ROP response, as specified in section 126.96.36.199.2, indicates whether there are any subfolders or messages that could not be deleted and, consequently, that the folder was not deleted.