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