Click or drag to resize

IQuotaAsync Interface

IT Hit WebDAV Classes Reference
If your server implementation needs to support quotas, this interface must be implemented by collections (items which implement IFolderAsync, IPrincipalFolderAsync 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: 9.1.5460-Beta
Syntax
public interface IQuotaAsync

The IQuotaAsync type exposes the following members.

Methods
  NameDescription
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
Top
See Also