pbms_set_option
Description
pbms_bool pbms_set_option ( PBMS pbms ,enum pbms_option option ,const void* value)
Sets a connection option value for the PBMS handle.
Parameters
pbms
A valid PBMS handle.
option
The connection option to be set.
value
A pointer to the option dependent value.
Return Values

On success TRUE is returned.

On failure FALSE is returned. Use pbms_errno() and pbms_error() to retrieve error details.

Example
 
/* Change the database associated with the connection. */
pbms_set_option(pbms, PBMS_OPTION_DATABASE, "A_database");

		
Related functions
pbms_get_option()