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