Microsoft SDK for Java

Revert

This method of the IStorage interface discards all changes that have been made to the storage object since the last commit.

Syntax

public void Revert();

Return Value

S_OK -- The revert operation was successful.

E_PENDING -- Asynchronous storage only: Part or all the storage's data is currently unavailable.

STG_E_INSUFFICIENTMEMORY -- The revert operation could not be completed due to a lack of memory.

STG_E_TOOMANYOPENFILES -- The revert operation could not be completed because there are too many open files.

STG_E_REVERTED -- The storage object has been invalidated by a revert operation above it in the transaction tree.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.