edmiCloseDatabase
EdmiError edmiCloseDatabase(char *password);
Closes the current open EDMdatabase. After this operation is successfully performed, no access to the actual EDMdatabase is permitted until the EDMdatabase is opened by the edmiOpenDatabase function. To ensure database consistency, an invocation of the edmiCloseDatabase function should always be performed to terminate the access to an EDMdatabase from an application program. Before the current open EDMdatabase is closed, all open repositories and all open models in the actual EDMdatabase will be closed to ensure database consistency. When an open EDMserver session exists upon invocation of this function, the open EDMserver session will be closed by invoking the sdaiCloseSession function. If the calling user is connected to the EDMserver the function edmiDisconnect will be implicitly invoked to disconnect the calling user from the EDMserver.
Arguments
Type | Name | Comment |
char | password | This argument is dummy in a single-user version of EXPRESS Data Manager. |
Return Value
Options
Example
EdmiError rstat; SdaiInstance id; SdaiInteger instanceClass; . . . If (rstat = edmiCloseDatabase ("xab98yz")) { /* Error in operation */ printf("\nError: %s in edmiCloseDatabase\n", edmiGetErrorText(rstat)); goto error; } . . .
See also
Filter by label
There are no items with the selected labels at this time.