CTSession::SetConfigurationFile
Stops the FairCom DB database engine .dll model.
Declaration
CTDBRET CTSession::SetConfigurationFile(void)
Description
SetConfigurationFile() sets the server .dll configuration file name and path.
Returns
Returns CTDBRET_OK on success, or throws a c-treeDB exception on failure.
Example
try
{
CTSession::SetConfigurationFile("ctsrvr.cfg");
CTSession::StartDatabaseEngine();
} catch (CTException ex)
{
HandleException();
}
...
...
try
{
CTSession::StopDatabaseEngine();
} catch (CTException ex)
{
HandleException();
}
See also
CTSession::StartDatabaseEngine(), CTSession::StopDatabaseEngine()