Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Unfortunately the sample code to delete the subfolder from the document library is not available in the SharePoint SDK. The sample code is as follows.
SPWeb web = new SPSite("site url").OpenWeb();
web.Folders[“Document library name”].SubFolders.Delete(“Folder Name”);
Comments
Anonymous
November 07, 2006
thxAnonymous
September 27, 2010
Thanks ,helped me to save alot my time !!!!