Advantage Client Engine
Retrieves the type of locking used with the table
UNSIGNED32 |
AdsGetTableLockType (ADSHANDLE hTable, UNSIGNED16 *pusLockType); |
hTable (I) |
Handle of table or cursor. |
pusLockType (O) |
Type of locking used for table (ADS_PROPRIETARY_LOCKING, ADS_COMPATIBLE_LOCKING). |
AdsGetTableLockType will retrieve the setting of the type of locking specified during the table open/create. See Advantage Locking Modes for more information on Advantage locking options. Note that if the usTableType parameter used in the open/create was ADS_ADT, ADS_PROPRIETARY_LOCKING will always be returned when using the Advantage Database Server, and ADS_COMPATIBLE_LOCKING will always be returned when using the Advantage Local Server.