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 new void Lock(
OASySDNA.RealTime.HighPerformanceSetDB.RecordLockRequestType lockType,
int recordNumber,
int millisecondsToWait
)
public:
virtual new 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).