22.214.171.124 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 RopDeleteFolder ROP request ([MS-OXCROPS] section 126.96.36.199). If the folder is not empty, the client sets the DeleteFolderFlags field to delete all existing subfolders and messages, as specified in section 188.8.131.52.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 184.108.40.206.2, indicates whether there are any subfolders or messages that could not be deleted and, consequently, that the folder was not deleted.