Last modified: March 09, 2015
Applies to: Windows | Windows Server
The JetResetTableSequential function notifies the database engine that the application is no longer scanning the entire current index containing a given cursor. This call reverses a notification sent by JetSetTableSequential.
Windows XP: JetResetTableSequential is introduced in Windows XP.
JET_ERR JET_API JetResetTableSequential( __in JET_SESID sesid, __in JET_TABLEID tableid, __in JET_GRBIT grbit );
The session to use for this call.
The cursor to use for this call.
Reserved for future use.
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.
It is not possible to complete the operation because all activity on the instance associated with the session has ceased as a result of a call to JetStopService.
It is not possible to complete the operation because the instance associated with the session has encountered a fatal error that requires that access to all data be revoked to protect the integrity of that data. This error will only be returned by Windows XP and later releases.
It is not possible to complete the operation because the instance associated with the session has not been initialized yet.
It is not possible to complete the operation because a restore operation is in progress on the instance associated with the session.
It is not possible to complete the operation because the instance associated with the session is being shut down.
On success, the current index of the cursor is no longer optimized for a sequential scan of the entire index. No change to the database state will occur.
On failure, no change to the configuration of the cursor will occur. No change to the database state will occur.
It is safe to make this call against a cursor that has not been previously configured by a call to JetSetTableSequential.
Requires Windows Vista or Windows XP.
Requires Windows Server 2008 or Windows Server 2003.
Declared in Esent.h.