Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How to know site size in sharepoint

  Asked By: Lucas    Date: Feb 07    Category: Sharepoint    Views: 1974

i want to know the size of my site and site collection individually. I dont want to know this from central admin. is there any option from site to know this?



1 Answer Found

Answer #1    Answered By: Cassandra Cooper     Answered On: Feb 07

You can use the obj model

SPSite.UsageInfo siteusageInfo = contextSite.Usage;
StorageUsed =oUsageInfo.Storage;

Didn't find what you were looking for? Find more on How to know site size in sharepoint Or get search suggestion and latest updates.