Microsoft SDK for Java

getLockType

The getLockType and setLockType methods of the Recordset class indicate or set the type of locks placed on records during editing, respectively.

Syntax

public int getLockType();
public void setLockType(int lockType);

Return Value

Returns an AdoEnums.LockType value. The default value is READONLY.

Parameters

lockType One of the AdoEnums.LockType field values.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.