Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTBase::GetLockMode

Syntax

CTLOCK_MODE GetLockMode ( )

Parameters

This method has no parameters.

Description

Retrieves the current record lock mode for session wide locks. Valid values for the session wide lock mode are shown in "Session Wide Lock Modes". If CTLOCK_FREE is returned, it does indicate that no locks are currently active.

Return

GetLockMode() returns the session wide lock mode, as described in "Session Wide Lock Modes".

See also

Lock(), Unlock(), IsLockActive(), Locking

TOCIndex