Lock(RealTimeBaseTable,Int32,RecordLockRequestType,Int32) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Locks a specific record allowing for a timeout to be specified.
public virtual void Lock(
RealTimeBaseTable tableName,
int recordNumber,
OASySDNA.RealTime.HighPerformanceSetDB.RecordLockRequestType lockType,
int millisecondsToWait
)
public:
virtual void Lock(
RealTimeBaseTable^ tableName,
int recordNumber,
OASySDNA.RealTime.HighPerformanceSetDB.RecordLockRequestType lockType,
int millisecondsToWait
)
Parameters
- tableName
- 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).