Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.DeleteObject

TElAWSS3DataStorage     See also     


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


Deletes objects from the storage.

Declaration

[C#/Java]
    void DeleteObject(string BucketName, string Key);
    void DeleteObject(string BucketName, string Key, TElStringList Headers);
    void DeleteObject(ref TElAWSS3DataStorageObject Obj);

[VB.NET]
    Sub DeleteObject(ByVal BucketName As String, ByVal Key As String)
    Sub DeleteObject(ByVal BucketName As String, ByVal Key As String, ByVal Headers As TElStringList)
    Sub DeleteObject(ByRef Obj As TElAWSS3DataStorageObject)

[Pascal]
    procedure DeleteObject(const BucketName : string; const Key : string);
    procedure DeleteObject(const BucketName: string; const Key : string; Headers : TStringList);
    procedure DeleteObject(var Obj : TElAWSS3DataStorageObject);

[C++]
    void DeleteObject(const std::string &BucketName, const std::string &Key);
    void DeleteObject(TElAWSS3DataStorageObject &Obj);
    void DeleteObject(const std::string &BucketName, const std::string &Key, TStringList &Headers);
    void DeleteObject(const std::string &BucketName, const std::string &Key, TStringList *Headers);

[PHP]
    void DeleteObject(string $BucketName, string $Key)
    void DeleteObject(TElAWSS3DataStorageObject &$Obj)
    void DeleteObject(string $BucketName, string $Key, TStringList $Headers)
    void DeleteObject(TElCustomDataStorageObject &$Obj)

Parameters

  • BucketName - name of the data bucket
  • Obj - object to be deleted
  • Key - a unique identifier of the object within a bucket
  • Headers - contains HTTP headers

Description

    Use this method to delete objects from data storage.

See also:     CreateObject     ObjectExists    

Discuss this help topic in SecureBlackbox Forum