Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTBase.GetLockMode

Syntax

LOCK_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 (LOCK_MODE enum)". If LOCK_MODE.LOCK_FREE is returned, no locks are currently active.

Return

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

See Also

Lock(), Unlock(), IsLockActive()

TOCIndex