Skip to main content

WSSV3FAQ

Go Search
Home
  
WSSV3FAQ > v3 WSS FAQ > Usage Analysis: Do you have code to get info about the size of a site?  

v3 WSS FAQ: Usage Analysis: Do you have code to get info about the size of a site?

Roman

III 

RomanNumber

Group

Administration 

Item

63.03 

Title

Usage Analysis: Do you have code to get info about the size of a site? 

Description

           SPSite mysite = new SPSite "http://server:port/sites/sitename");
 
            SPSite.UsageInfo siteUsage = mysite.Usage;
 
            string storage = siteUsage.Storage.ToString();
 
            MessageBox.Show("Size from SPSite.Usage = " + storage);
 
 
(HH)

Series

1-99 

Pr

 

OUT

 
Attachments
Created at 12/13/2008 1:53 AM  by Mike Walsh 
Last modified at 12/13/2008 1:53 AM  by Mike Walsh