type
Type: Character[1]
The read-only type property of the Lock class is set to the value of the type parameter of the lock request. The character values correspond to the Update_Lock, Share_Lock, Reserve_Lock, and Exclusive_Lock global constant in the
For more details, see "
The code fragment in the following example shows the use of the type property.
foreach lock in locksArray do if lock.type.Integer = Share_Lock then write "Shared lock"; elseif lock.type.Integer = Exclusive_Lock then write "Exclusive lock"; elseif lock.type.Integer = Reserve_Lock then write "Reserve lock"; endif; endforeach;