DiskQuotaControl.DefaultQuotaThreshold property

Sets or gets the default quota threshold.

This property is read/write.


iDefaultQuotaThreshold = DiskQuotaControl.DefaultQuotaThreshold
DiskQuotaControl.DefaultQuotaThreshold = iDefaultQuotaThreshold

Property value

An Integer value that is set to the default warning threshold for new users, in bytes.


The default quota threshold is applied automatically to new users of the volume. If a user's disk usage exceeds this value and the LogQuotaThreshold property is set to TRUE, the system generates an event log entry. For example, if the default threshold is 10.0 MB, the value of the property is "10.0 MB". If the volume has no default threshold, the property is set to "No Limit" or the localized equivalent.


Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Shell32.dll (version 5.0 or later)

See also