But iteration method will not help to find out complete count
in the site. because we dont know how many sites, how many folders
etc. we need to create a recursive method to find out a files and
folders. I feel this is bit lengthy and time consumming process.
anyway if anybody has some tectics to recursive the below requirement
let us know the same.
1. Open document library (dynamically).
2. Find out the number of files in that document library.
3. If document library contains folders, enter inside the folder and
find out the number of files available in that folder.
4.Find out if there are any more folders.
5.If folders exist, repeat step 3.
6.Find out if there is anymore document library, if exist, repeat the
steps 1 to step 5.
7.This completes for one team site.
8.Iterate the same for all site.