 |
JetDetachDatabase ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Releases a database file that was previously attached to a database session. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
JET_ERR JET_API JetDetachDatabase(
__in JET_SESID sesid,
__in const tchar* szFilename
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER JetDetachDatabase IN esent;
INTEGER sesid,;
STRING szFilename
|
 |
 |
 |
| Parameters: |
 |
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. |
 |
 |
| Return value: |
 |
| Returns the JET_ERR datatype with one of predefined return codes. |
 |
 |
| Usage: |
 |
= JetDetachDatabase(THIS.jetsessionid, THIS.jetdatabasename)
|
 |
 |
| My comment: |
 |
| See also: JetCreateDatabase, JetAttachDatabase, JetCloseDatabase |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2008-01-11 16:51:17 | | Modified: | 2008-01-11 16:53:42 | Visited in last 7 days: 10 |