Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTBase.GetAutoCommit

Declaration

CTBOOL CTBase.GetAutoCommit();

Description

CTBase.GetAutoCommit() retrieves the c-treeDB auto commit mode. The auto commit of transactions are invoked automatically when records are added or updated by CTRecord.Write() method.

Return Values

Value

Symbolic Constant

Explanation

0

YES

auto commit is enabled.

1

NO

auto commit is not enabled.

See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

See Also

CTBase.SetAutoCommit() CTBase.SetOperation() CTBase.GetOperation()

TOCIndex