Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: Access 2013, Office 2013
Specifies the type of lock placed on records during editing.
Constant |
Value |
Description |
|---|---|---|
adLockBatchOptimistic |
4 |
Indicates optimistic batch updates. Required for batch update mode. |
adLockOptimistic |
3 |
Indicates optimistic locking, record by record. The provider uses optimistic locking, locking records only when you call the Update method. |
adLockPessimistic |
2 |
Indicates pessimistic locking, record by record. The provider does what is necessary to ensure successful editing of the records, usually by locking records at the data source immediately after editing. |
adLockReadOnly |
1 |
Indicates read-only records. You cannot alter the data. |
adLockUnspecified |
-1 |
Does not specify a type of lock. For clones, the clone is created with the same lock type as the original. |
ADO/WFC equivalent
Package: com.ms.wfc.data
Constant |
|---|
AdoEnums.LockType.BATCHOPTIMISTIC |
AdoEnums.LockType.OPTIMISTIC |
AdoEnums.LockType.PESSIMISTIC |
AdoEnums.LockType.READONLY |
AdoEnums.LockType.UNSPECIFIED |