Click or drag to resize

IQuota Interface

IT Hit WebDAV Classes Reference
If your server implementation needs to support quotas, this interface must be implemented by collections (items which implement IFolder, IPrincipalFolder etc. interfaces). Optionally this interface can be implemented by other items depending on your requirements.

Namespace:  ITHit.WebDAV.Server.Quota
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
public interface IQuota

The IQuota type exposes the following members.

Public methodCode exampleGetAvailableBytesAsync
Value in bytes representing the amount of additional disk space beyond the current allocation that can be allocated to the folder (or other item) before further allocations will be refused.
Public methodCode exampleGetUsedBytesAsync
Value in bytes representing the amount of space used by this folder/file and possibly a number of other similar folders/files, where the set of "similar" meets at least the criterion that allocating space to any folder/file in the set will count against the GetAvailableBytesAsync. It MUST include the total count including usage derived from sub-items if appropriate. It SHOULD include metadata storage size if metadata storage is counted against the GetAvailableBytesAsync
See Also