3.1.4.30 SaveData (Opnum 20)
The SaveData method explicitly flushes the metabase data resident in memory to configuration storage.
-
HRESULT SaveData();
This method has no parameters.
Return Values: A signed 32-bit value that indicates return status. If the method returns a negative value, it failed. If the 12-bit facility code (bits 16–27) is set to 0x007, the value contains a Win32 error code in the lower 16 bits. Zero or positive values indicate success, with the lower 16 bits in positive nonzero values containing warnings or flags defined in the method implementation. For more information about Win32 error codes and HRESULT values, see [MS-ERREF].
-
Return value/code
Description
0x00000000
S_OK
The call was successful.
0x80070094
ERROR_PATH_BUSY
The path specified cannot be used at this time.
The opnum field value for this method is 20.
When processing this call, the server MUST do the following:
If a handle is open with write permissions, the server SHOULD return ERROR_PATH_BUSY.<19>
Save all data in the metabase that has changed since the last time the metabase was saved.