Lock(RealTimeTable,Int32,RecordLockRequestType,Int32) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Locks a specific record RealTimeRecord, allowing for a timeout to be specified.
public void Lock(
RealTimeTable tableName,
int recordNumber,
RecordLockRequestType lockType,
int millisecondsToWait
)
public:
void Lock(
RealTimeTable^ tableName,
int recordNumber,
RecordLockRequestType lockType,
int millisecondsToWait
)
Parameters
- tableName
- The table that the record is associated with.
- recordNumber
- The record to lock.
- lockType
- The lock type to perform on the record (for example, read, write).
- millisecondsToWait
- The time to wait for the lock to be achieved (in milliseconds).