AdoLockTypeEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoLockTypeEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the LockType Enum:

The type of action to be performed when SetPermissions is called.

 

Prototype

 

FUNCTION AdoLockTypeEnum (  )  AS ARRAY

Return

ARRAY        Every row in this array has 2 values:

       The numeric value of the Enum value

       A text representation of this value

 

This array can be used to validate values, and to print a meaningful description of the values during debugging You can pass this array to the AdoEnum2Str() function to convert the value of an Enum to a string

 

Description

 

List of possible values

adLockUnspecified -1        Does not specify a type of lock.
adLockReadOnly 1        Read-only—you cannot alter the data.
adLockPessimistic 2        Pessimistic locking, record by record
adLockOptimistic 3        Optimistic locking, record by record
adLockBatchOptimistic 4        Optimistic batch updates

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()