SharePoint object model allows to access recycle bins of web sites or site collections by calling RecycleBin property of the SPWeb or SPSite classes respectively. [crayon lang=”c#”] SPRecycleBinItemCollection recycleBinItemcollection = yourSite.RecycleBin; //or SPRecycleBinItemCollection recycleBinItemcollection = yourWeb.RecycleBin; [/crayon] RecycleBin property will return recycle bin items as SPRecycleBinItemCollection. Items of this collection […]
second-stage
1 post