Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.24 KB

File metadata and controls

55 lines (36 loc) · 1.24 KB

Home

Function name : JetEndSession

Group: Extensible Storage Engine (ESE, Jet Blue) - Library: esent


Ends the session, and cleans up and deallocates any resources associated with the specified session.


Code examples:

Extensible Storage Engine class library

Declaration:

JET_ERR JET_API JetEndSession(
  __in          JET_SESID sesid,
  __in          JET_GRBIT grbit
);  

FoxPro declaration:

DECLARE INTEGER JetEndSession IN esent;
	INTEGER sesid,;
	INTEGER grbit  

Parameters:

sesid The session to end. Associated resources are released when the session ends.

grbit Reserved.


Return value:

This function returns the JET_ERR datatype with a predefined return code.


Comments:

This API will rollback any open transactions (not committed to level 0). Also all cursors associated with this session, and any sort tables that have been created or opened will be cleaned up.

See also: JetBeginSession.