PromoteRevision Method
Promotes a specific revision of a file to the current version.
Object Oriented Interface
public function doPromoteRevision();
Procedural Interface
incloudstorage_box_do_promoterevision($res);
Remarks
This method promotes a revision to the current version of the file. This allows restoring a previous revision.
Before calling this method set ResourceId to the Id of the file, and set ResourceRevision to the revision of the file that should be restored.