StorageMaximumLevel Property

The StorageMaximumLevel property of the SPQuota class gets or sets a limit on all disk space used by the site collection.

Property Value

A 64-bit integer that specifies the limit on disk space used. The default value is 0 (zero).


The following code example sets a maximum level and a warning level for storage in a specified site collection.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security