Lock(String,TableLockRequestType,Int32,RecordLockRequestType) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Locks a specific record, waiting indefinitely for the lock to be achieved.
public override void Lock(
string tableName,
TableLockRequestType tableLockType,
int recordNumber,
RecordLockRequestType recordLockType
)
public:
void Lock(
String^ tableName,
TableLockRequestType tableLockType,
int recordNumber,
RecordLockRequestType recordLockType
) override
Parameters
- tableName
- The table that the record is associated with.
- tableLockType
- The type of lock to perform on the table (for example, read, write).
- recordNumber
- The record to lock.
- recordLockType
- The type of lock to perform on the record (for example, read, write).