StorageWarningLevel Property

The StorageWarningLevel property of the SPQuota class gets or sets a storage warning level for when administrators of the site collection receive advance notice before available storage is expended.

Property Value

A 64-bit integer that specifies the warning level. 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