AttachInsteadOfLock(RecordLockRequestType,Int32,IntPtr) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Attaches to the shared memory without locking. UnLock or DetachInsteadOfUnLock can be used to finish changes.
public void AttachInsteadOfLock(
RecordLockRequestType lockType,
int recordNumber,
IntPtr recordPtrToAttach
)
public:
void AttachInsteadOfLock(
RecordLockRequestType lockType,
int recordNumber,
IntPtr recordPtrToAttach
)
Parameters
- lockType
- The type of lock to perform on the record (for example, read, write).
- recordNumber
- The record number of the record.
- recordPtrToAttach
- A record pointer that is already locked/attached.