Parameter
|
Type
|
Description
|
IN
|
|
|
iOptionType
|
int
|
The type of option:
• DAM_CONN_OPTION
• DAM_STMT_OPTION
• DAM_CONDLIST_OPTION
|
pObjectHandle
|
int64
|
The object handle to which the option applies. It can be one of the following object handles:
• Connection handle
• Statement handle
• Condition list handle
|
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
• DAM_SUCCESS – option set
• DAM_FAILURE – error in setting the specified option for the specified object type
|