dam_setOption
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method sets the options related to the operations of the OpenAccess SDK SQL Engine. Options can be set at the connection, the statement, or the conditions list level. See Table 201, Table 202, and Table 203 for lists of options that you can set.
int dam_setOption(
int iOptionType,
int64 pObjectHandle,
int iOption,
long lOptionValue)
Parameters for dam_SetOption
| Parameter | Type | Description |
| IN | ||
| iOptionType | int | The type of option: |
| pObjectHandle | int64 | The object handle to which the option applies. It can be one of the following object handles: |
| iOption | int | The option to set. See Connection Options for more information about the option. |
| iOptionValue | int | The value to set for the option iOption. See Table 201 for the option. |
| RETURN | ||
| int | The status of the method call |