Skip to content

Latest commit

 

History

History
103 lines (68 loc) · 3.57 KB

jetossnapshotend-function.md

File metadata and controls

103 lines (68 loc) · 3.57 KB
description title TOCTitle ms:assetid ms:mtpsurl ms:contentKeyID ms.date ms.topic api_name topic_type api_type api_location ROBOTS
Learn more about: JetOSSnapshotEnd Function
JetOSSnapshotEnd Function
JetOSSnapshotEnd Function
f7f4db8b-8e40-48d7-bc7b-0c80d0d0f77f
32765750
04/11/2016
reference
JetOSSnapshotEnd
apiref
kbArticle
COM
DLLExport
ESENT.DLL
INDEX,FOLLOW

JetOSSnapshotEnd Function

Applies to: Windows | Windows Server

JetOSSnapshotEnd Function

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
    );

Parameters

snapId

The identifier of the snapshot session.

grbit

The options for this call. This parameter can have a combination of the following values.

Value

Meaning

0

The successful end of the snapshot session.

JET_bitAbortSnapshot

The snapshot session aborted.

Return Value

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.

Return code

Description

JET_errSuccess

The operation completed successfully.

JET_errInvalidGrbit

One of the options requested is invalid, used incorrectly, or not implemented.

JET_errOSSnapshotInvalidSequence

A snapshot session is already in progress. This is not allowed.

JET_errOSSnapshotInvalidSnapId

The identifier for the snapshot session is not valid.

JET_errOSSnapshotTimeOut

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.

Remarks

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.

Requirements

Requirement Value

Client

Requires Windows Vista.

Server

Requires Windows Server 2008.

Header

Declared in Esent.h.

Library

Use ESENT.lib.

DLL

Requires ESENT.dll.

See Also

Error Handling Parameters
Extensible Storage Engine Errors
JET_ERR
JetOSSnapshotThaw