AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IFolderManager.RemoveFolder Method

Deletes the folder.

void RemoveFolder(
IFolder folder
);

#### Parameters

folder
  Folder to be deleted; cannot be `null`.

#### Remarks

If the folder contains subfolders, all subfolders and items in those subfolders will be removed as well.

#### Exceptions

Exception Type | Condition
--- | ---
ContentSecurityException | The user does not have permission to delete the folder or one of its subfolders.
ContentException | The method call resulted in a Publisher exception.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

IFolderManager Interface | Plumtree.Remote.PRC.Content.Folder Namespace