Deletes the specified file or folder.
int DeleteResource();
This method deletes the file or folder specified by ResourceId. The resource is not moved to the trash and is deleted permanently.