The getLockType and setLockType methods of the Recordset class indicate or set the type of locks placed on records during editing, respectively.
public int getLockType();
public void setLockType(int lockType);
Returns an AdoEnums.LockType value. The default value is READONLY.
lockType | One of the AdoEnums.LockType field values. |