public void DeleteFolder( System.string folderName )
Parameters
- folderName
- The path from the root to the folder to delete.
public void DeleteFolder( System.string folderName )
| Exception | Description |
|---|---|
| StorageMgmtException Class | A StorageMgmtException will be thrown if the specified folder is not empty when attempting to delete it. |
| System.Exception | A System.Exception will be thrown if the filder cannot be found to delete. |
string oldFolder = "Training Materials\\Obsolete Function"; if (api.ReportManagement.ExistFolder(oldFolder)) { api.ReportManagement.DeleteFolder(oldFolder); }