I need to get the size of web application using C#. Is there any way we can get the exact size of web application. With powershell it's feasible, but I want to use it in C#
Asked
Active
Viewed 370 times
1 Answers
4
Well, the Web Application itself does not really take up much space! It's just an IIS site on each SharePoint server in the farm. All content is stored in the SharePoint Content Databases. Hence, you can get the size by adding up the size of all attached databases.
Lars Fastrup
- 3,150
- 2
- 22
- 29