AdsExtendedReader.UnlockRecord

Advantage .NET Data Provider

Unlocks the current or given record

public void UnlockRecord();

 

public void UnlockRecord(int iRecordNumber);

Remarks

UnlockRecord releases the server’s lock on the record and flushes any changes in the record to disk.

Note Records cannot be unlocked on the server during transactions. Therefore, calls to UnlockRecord during a transaction will cause the Advantage Client Engine to mark the record lock as "unlocked during transaction", and the Advantage Client Engine will release the lock at the end (commit or rollback) of the transaction.

See Also

LockRecord

IsRecordLocked

LockTable

UnlockTable