edmiDeleteDatabase
Â
EdmiError edmiDeleteDatabase(SdaiString location, SdaiString databaseName, SdaiString password);
Delete an existing EDMdatabase, i.e., delete all data belonging to the actual database. After this function is performed, the actual database is non existing, hence the data in a deleted EDMdatabase cannot be recovered. Only closed databases can be deleted.
Arguments
Type | Name | Comment |
SdaiString | location | Specifies the path to the directory where the EDMdatabase is located. The <location> must be specified as an absolute path of the actual EDMserver. The <location> argument can be specified with and without the directory delimiter character as the last character in the directory path. The directory delimiter character is '\' on the Windows platforms and '/' on the Unix platforms. |
SdaiString | databaseName | Specifies the name of the EDMdatabase to delete. EDMdatabase names are case sensitive on the Unix platforms and case insensitive on the Windows platforms. The actual database must be closed. |
SdaiString | password | Specifies the password of the actual database. The password of an EDMdatabase is defined when the database is created. |
Return Value
Options
Â
Example
Â
 EdmiError rstat; ... if (rstat = edmiDeleteDatabase ("/usr/hkd/databases/", "merci", "xhkd919x")) { /* Error in operation */ printf("\nError in edmiDeleteDatabase: %s\n", edmiGetErrorText(rstat)); goto error; } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â