Lock(TableLockRequestType,Int32) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Locks the currently bound RealTime database (RTDB) table, and waits indefinitely for the lock to take place.
public override void Lock(
TableLockRequestType lockType,
int millisecondsToWait
)
public:
void Lock(
TableLockRequestType lockType,
int millisecondsToWait
) override
Parameters
- lockType
- The type of lock to perform on the table (for example, read, write).
- millisecondsToWait
- The amount of time to wait (in milliseconds).
| Exception | Description |
|---|---|
| OASySDNA.Common.DNAException | Either the RealTimeSetTable instance is not bound to any table, or the bound table cannot be locked. |
Bind(Int32) must be called before this routine.