Discuss this help topic in SecureBlackbox Forum

TElWebDAVServer.OnQueryQuota

TElWebDAVServer     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event allows to control quota usage.

Declaration

[C#]
    event TSBWebDAVQueryQuotaEvent OnQueryQuota;
    delegate void TSBWebDAVQueryQuotaEvent(Object Sender, ref long Available, ref long Used);

[VB.NET]
    Event OnQueryQuota As TSBWebDAVQueryQuotaEvent
    Delegate Sub TSBWebDAVQueryQuotaEvent(ByVal Sender As Object, ByRef Available As Long, ByRef Used As Long)

[Pascal]
    property OnQueryQuota : TSBWebDAVQueryQuotaEvent;
    TSBWebDAVQueryQuotaEvent = procedure(Sender : TObject; var Available, Used : int64) of object;

[C++]
    void get_OnQueryQuota(TSBWebDAVQueryQuotaEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnQueryQuota(TSBWebDAVQueryQuotaEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVQueryQuotaEvent)(void * _ObjectData, TObjectHandle Sender, int64_t &Available, int64_t &Used);

[PHP]
    TSBWebDAVQueryQuotaEvent|callable|NULL get_OnQueryQuota()
    void set_OnQueryQuota(TSBWebDAVQueryQuotaEvent|callable|NULL $Value)
    callable TSBWebDAVQueryQuotaEvent(TObject $Sender, integer &$Available, integer &$Used)

[Java]
    TSBWebDAVQueryQuotaEvent getOnQueryQuota();
    void setOnQueryQuota(TSBWebDAVQueryQuotaEvent Value);
    TSBWebDAVQueryQuotaEvent.Callback OnQueryQuota = new TSBWebDAVQueryQuotaEvent.Callback() {
        public void TSBWebDAVQueryQuotaEventCallback(TObject Sender, TSBLong Available, TSBLong Used) {
            //...
        }
    }

Parameters

  • Available - the amount of available quota.
  • Used - the amount of currently used quota.

Description

    Use this event to handle quota usage.

Discuss this help topic in SecureBlackbox Forum