I want to get all webs including it's subwebs.
Eg.
- Site
- web1
- subweb1
- subweb2
- web2
- web1
How to achieve ?
|
I want to get all webs including it's subwebs. Eg.
How to achieve ? |
||||
|
|
|
Its all happening in SharePoint Manager, just download source code and look at code to get what you want. Hope it helps :). |
|||
|
|
|
you can use WebsInfo property of SPWebCollection class
then you can perform action with SPWebInfo class. |
|||
|
|
|
This is one solution, which will return all sites including its subsite.
|
||||
|
|