3.2.4.1.5 RestoreXMLFiles (Opnum 11)
The RestoreXMLFiles method restores the WSRM configuration to a specified state.
-
[id(5), helpstring("method RestoreXMLFiles")] HRESULT RestoreXMLFiles( [in] RESTORE_MODE enumRestore );
enumRestore: A value that specifies the state to restore.
-
This parameter MUST be defined in the RESTORE_MODE enumeration (section 2.2.3.7); otherwise, E_INVALIDARG MUST be returned.<30>
Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.
-
Return value/code
Description
0x00000000
S_OK
Operation successful.
0xC1FF0070
WRM_ERR_TAGS_NOT_IN_ORDER
The XML data that is maintained by the management service is invalid or cannot be processed.<31>
0x80070057
E_INVALIDARG
One or more arguments are invalid.
This method can be used to reset the WSRM server state to a known value in case some data becomes corrupted and the server cannot proceed.
Additional IResourceManager interface methods are specified in section 3.2.4.1.