Shantha Kumar

Shantha Kumar

Happy New Year 2011

               Thanks for all guys, who are all pass through my blog even one time. I have made lot of mistakes on current year, like not replied back to my blog visitors and i have failed on publishing my new…

Sites and Sub-sites

By SharePoint object model, how we can get all the sites with sub sites and the top-level sites alone separately. The following snippet which returns all the sites and sub-sites from the site collection. SPSite site=new SPSite.AllWebs; and if we…