Lock(IRealTimeTable,Int32,RecordLockRequestType,Int32) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Locks a specific record allowing for a timeout to be specified.
public void Lock(
IRealTimeTable table,
int recordNumber,
OASySDNA.RealTime.HighPerformanceSetDB.RecordLockRequestType lockType,
int millisecondsToWait
)
public:
void Lock(
IRealTimeTable^ table,
int recordNumber,
OASySDNA.RealTime.HighPerformanceSetDB.RecordLockRequestType lockType,
int millisecondsToWait
)
Parameters
- table
- The table that the record is associated with
- recordNumber
- The record to lock
- lockType
- How you want the record locked (e.g. read,write,etc)
- millisecondsToWait
- How long to wait for the lock to be achieved (in milliseconds).