Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.01 KB

JetCloseDatabase.md

File metadata and controls

58 lines (39 loc) · 1.01 KB

Home

Function name : JetCloseDatabase

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


Closes a database file that was previously opened with JetOpenDatabase.


Code examples:

Extensible Storage Engine class library

Declaration:

JET_ERR JET_API JetCloseDatabase(
  __in          JET_SESID sesid,
  __in          JET_DBID dbid,
  __in          JET_GRBIT grbit
);  

FoxPro declaration:

DECLARE INTEGER JetCloseDatabase IN esent;
	INTEGER sesid,;
	INTEGER dbid,;
	INTEGER grbit  

Parameters:

sesid The database session context that will be used for the API call.

dbid The database to be closed.

grbit Reserved for future use.


Return value:

This function returns the JET_ERR data type with one of predefined return codes.


Comments:

See also: JetCreateDatabase, JetOpenDatabase