EPUB | CHM | PDF

TPSQLTable.Methods.UnlockTable

Top Previous Next

Removes a previously applied lock on a table.

Syntax:

procedure UnlockTable(LockType: TLockType);

Description:

Call UnlockTable to remove a lock previously applied to a table. LockType specifies the lock to remove.

Removing a read lock enables other applications to read a table. Removing a write lock enables other application to write to a table.

An application can remove both types of lock by calling UnlockTable twice, once for each lock type.