Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.DeleteObject

TElWebDAVClient     See also     


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


Deletes an object on the server.

Declaration

[C#]
    void DeleteObject(string URL, TElWebDAVLockList Locks, TElWebDAVErrorList Errors);
    void DeleteObject(TElWebDAVStorageObject Obj, TElWebDAVErrorList Errors);

[VB.NET]
    Sub DeleteObject(ByVal URL As String, ByVal Locks As TElWebDAVLockList, ByVal Errors As TElWebDAVErrorList)
    Sub DeleteObject(ByVal Obj As TElWebDAVStorageObject, ByVal Errors As TElWebDAVErrorList)

[Pascal]
    procedure DeleteObject(const URL : string; Locks : TElWebDAVLockList = nil; Errors : TElWebDAVErrorList = nil);
    procedure DeleteObject(Obj : TElWebDAVStorageObject; Errors : TElWebDAVErrorList = nil);

[C++]
    void DeleteObject(const std::string &URL, TElWebDAVLockList &Locks, TElWebDAVErrorList &Errors);
    void DeleteObject(const std::string &URL, TElWebDAVLockList *Locks, TElWebDAVErrorList *Errors);
    void DeleteObject(TElWebDAVStorageObject &Obj, TElWebDAVErrorList &Errors);
    void DeleteObject(TElWebDAVStorageObject *Obj, TElWebDAVErrorList *Errors);

[PHP]
    void DeleteObject(string $URL, TElWebDAVLockList $Locks, TElWebDAVErrorList $Errors)
    void DeleteObject(TElWebDAVStorageObject $Obj, TElWebDAVErrorList $Errors)

[Java]
    void deleteObject(TElWebDAVStorageObject Obj, TElWebDAVErrorList Errors);
    void deleteObject(String URL, TElWebDAVLockList Locks, TElWebDAVErrorList Errors);

Parameters

  • URL - URL of the object to be deleted.
  • Obj - the object to be deleted.
  • Locks - locks put on the resourse.
  • Errors - list where the errors will be stored.

Description

    Use this method to delete a resource on the server.

See also:     MoveObject    

Discuss this help topic in SecureBlackbox Forum