RestoreResource Method
Restores a deleted resource.
Object Oriented Interface
public function doRestoreResource($folderid, $newresourcename);
Procedural Interface
incloudstorage_box_do_restoreresource($res, $folderid, $newresourcename);
Remarks
This method restores the resource specified by ResourceId.
To restore a previously deleted resource that is not yet permanently deleted set ResourceId and call this method.
FolderId optionally specifies the folder to which the resource is restored. Set this to empty string to restore to the original folder.
NewResourceName optionally specifies the name to which the resource is restored. Set this to empty string to use the original resource name.