Storages & Files Revert
Revert method

Discards all changes that have been made to the storage object since the last commit operation. Not all storages support this feature. Note that the storage must be opened in transactional mode in order method to work.


variable = object.Revert


returned value: Boolean value that indicates the success (True) or failure (False).


Currently this feature is supported for OLE files only. They must be opened in transactional mode. Note that this feature is supported in different manner on the different platforms and you cannot be sure how fast is it. It may involve creation of temporary files or higher memory consumption. The feature is not recommended for shared applications (such as WEB applications). For up-to-date information on the current state of the feature support in the Microsoft's OLE files implementation consult MSDN.

Applies to: SFStorage object

newObjects Copyright 2001-2006 newObjects [ ]