Discuss this help topic in SecureBlackbox Forum

TElBoxDataStorage.RestoreObject

TElBoxDataStorage     See also     


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


Restore an object from trash.

Declaration

[C#/Java]
    void RestoreObject(TElBoxDataStorageObject Obj);
    void RestoreObject(TElBoxDataStorageObject Obj, TElBoxFolder NewParent, string NewName);

[VB.NET]
    Sub RestoreObject(ByVal Obj As TElBoxDataStorageObject)
    Sub RestoreObject(ByVal Obj As TElBoxDataStorageObject, ByVal NewParent As TElBoxFolder, ByVal NewName As String)

[Pascal]
    procedure RestoreObject(Obj: TElBoxDataStorageObject);
    procedure RestoreObject(Obj: TElBoxDataStorageObject; NewParent: TElBoxFolder; const NewName: string);

[C++]
    void RestoreObject(TElBoxDataStorageObject &Obj);
    void RestoreObject(TElBoxDataStorageObject *Obj);
    void RestoreObject(TElBoxDataStorageObject &Obj, TElBoxFolder &NewParent, const std::string &NewName);
    void RestoreObject(TElBoxDataStorageObject *Obj, TElBoxFolder *NewParent, const std::string &NewName);

[PHP]
    void RestoreObject(TElBoxDataStorageObject $Obj)
    void RestoreObject(TElBoxDataStorageObject $Obj, TElBoxFolder $NewParent, string $NewName)

Parameters

  • Obj - the object to be restored.
  • NewParent - folder in which the object should be restored.
  • NewName - new name for the restored object.

Description

    Use this method to restore a trashed data object.

See also:     AcquireTrashedFile     AcquireTrashedFolder     ListTrashed     PurgeObject    

Discuss this help topic in SecureBlackbox Forum