Dropping a DatabaseWhen you drop a database from a session, the database information is removed from the session dictionary, but the database dictionary file is left untouched. The drop database operation can be reversed with an add database operation. Drop a database from a session by calling CTSession::DropDatabase() method. // drop MyDatabase from current session try {
} catch (CTException &err) {
printf(“Drop database failed with error %d\n”, err.GetErrorCode()); } |
|||