Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTSession.StopDatabaseEngine

Stops the FairCom DB database engine .dll model.

Declaration

CTSession.StopDatabaseEngine(void)

Description

CTSession.StopDatabaseEngine() shuts down the FairCom DB database engine .dll model. This ensures a clean shutdown, resulting in quicker startups at the next application instance. It also ensures all files are properly closed and flushed to disk.

This is a static method and it can be invoked without the presence of a CTSession object.

Returns

Returns CTDBRET_OK on success, or throws a c-treeDB exception on failure.

See also

CTSession.StartDatabaseEngine(), CTSession.SetConfigurationFile()

TOCIndex