Last modified: January 09, 2012
Applies to: Windows | Windows Server
The JetOSSnapshotEnd function notifies the engine that the snapshot session finished.
Windows Vista: JetOSSnapshotEnd is introduced in Windows Vista:.
JET_ERR JET_API JetOSSnapshotEnd( __in const JET_OSSNAPID snapId, __in const JET_GRBIT grbit );
The identifier of the snapshot session.
The options for this call. This parameter can have a combination of the following values.
The successful end of the snapshot session.
The snapshot session aborted.
This function returns the JET_ERR datatype with one of the following return codes. For more information about the possible ESE errors, see Extensible Storage Engine Errors and Error Handling Parameters.
The operation completed successfully.
One of the options requested is invalid, used incorrectly, or not implemented.
A snapshot session is already in progress. This is not allowed.
The identifier for the snapshot session is not valid.
The snapshot session had an internal timeout before this call occurred. As a result, the IO operations returned to normal before this call was made.
If this function succeeds, a snapshot session will complete and the normal engine behavior will resume. A new snapshot session can be started later.
If this function fails, the JET_errOSSnapshotTimeOut return code returns and the current snapshot session ends but the freeze of IOs during the snapshot period was not respected internally. For all other errors, the snapshot session state will not be changed.
This function is called only if JetOSSnapshotThaw was called with JET_bitContinueAfterThaw.
The snapshot session must complete for the snapshot verification and log truncation to take place. Event log entries will be generated for the different steps of the snapshot.
Requires Windows Vista.
Requires Windows Server 2008.
Declared in Esent.h.