AdsEnableAutoIncEnforcement

Advantage Client Engine

Enables the enforcement of the read/only status of auto-increment values.

Syntax

UNSIGNED32 AdsEnableAutoIncEnforcement( ADSHANDLE hConnect );

Parameters

hConnect (I)

Valid connection handle.

Remarks

AdsEnableAutoIncEnforcement restores the default behavior of auto-increment fields on the given connection. By default, auto-increment values are generated and maintained by Advantage. This API is used to re-enable the enforcement of auto-increment values after a call to AdsDisableAutoIncEnforcement.

See Also

AdsDisableAutoIncEnforcement

AdsDisableUniqueEnforcement

AdsEnableUniqueEnforcement

AdsDisableRI

AdsEnableRI