2.2.3.7 RESTORE_MODE Enumeration

The RESTORE_MODE enumeration defines states that the WSRM configuration can have when it is restored. The WSRM configuration is restored by the RestoreXMLFiles method (section 3.2.4.1.5).

 typedef [v1_enum] enum 
 {
   RESTORE_LAST_GOOD_STATE = 1,
   RESTORE_EMPTY_FILES = 2
 } RESTORE_MODE;

RESTORE_LAST_GOOD_STATE:  This value targets the last saved good state of the WSRM configuration, which is defined as a consistent set of WSRM objects. WSRM objects are stored in the XML files after successful completion of any method call of this protocol.

RESTORE_EMPTY_FILES:  This value targets the initial state of the WSRM configuration with which the product is shipped. This means that only the out-of-box policies, empty calendars, and conditional policies will be used in the restored state of the object.