Group: Extensible Storage Engine (ESE, Jet Blue) - Library: esent
Extensible Storage Engine class library
JET_ERR JET_API JetDetachDatabase(
__in JET_SESID sesid,
__in const tchar* szFilename
);
DECLARE INTEGER JetDetachDatabase IN esent;
INTEGER sesid,;
STRING szFilename
sesid The database session context to use for the API call.
szFilename The name of the database to detach. If szFilename is NULL or an empty string, all databases attached to sesid will be detached.
Returns the JET_ERR datatype with one of predefined return codes.
See also: JetCreateDatabase, JetAttachDatabase, JetCloseDatabase.