Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.RestoreObject

TElDropboxDataStorage     See also     


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


Restores a file path to a previous revision.

Declaration

[C#]
    TElDropboxDataStorageObject RestoreObject(string Path, string Rev);
    TElDropboxDataStorageObject RestoreObject(string Path, string Rev, bool AcquireObject);

[VB.NET]
    Function RestoreObject(ByVal Path As String, ByVal Rev As String) As TElDropboxDataStorageObject
    Function RestoreObject(ByVal Path As String, ByVal Rev As String, ByVal AcquireObject As Boolean) As TElDropboxDataStorageObject

[Pascal]
    function RestoreObject(const Path : string; const Rev : string) : TElDropboxDataStorageObject;
    function RestoreObject(const Path : string; const Rev : string; AcquireObject : boolean) : TElDropboxDataStorageObject;

[C++]
    TElDropboxDataStorageObjectHandle RestoreObject(const std::string &Path, const std::string &Rev);
    TElDropboxDataStorageObjectHandle RestoreObject(const std::string &Path, const std::string &Rev, bool AcquireObject);

[PHP]
    TElDropboxDataStorageObject RestoreObject(string $Path, string $Rev)
    TElDropboxDataStorageObject RestoreObject(string $Path, string $Rev, bool $AcquireObject)

[Java]
    TElDropboxDataStorageObject restoreObject(String Path, String Rev, boolean AcquireObject);
    TElDropboxDataStorageObject restoreObject(String Path, String Rev);

Parameters

  • AcquireObject - set this parameter to False to free the new copy; returns nil/null/Nothing in this case.
  • Path - the path to the remote file.
  • Rev - specifies the desired revision of the file.

Return value

    Returns an instance of TElCustomDataStorageObject that contains the restored object.

Description

    Call this method to restore a previous revision of a file. This method saves traffic comparing to downloading the specified revision of a file, and re-uploading it.

See also:     ReadObject     WriteObject    

Discuss this help topic in SecureBlackbox Forum