Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SACommand::setOption

SAString &setOption(const SAString &sOptionName);

Sets a string value of a specific command option.

Parameters

sOptionName.    A string key of the command option.

Remarks

Call this method to set value(s) of server specific command options. See Server specific notes.

A command related option may be specified in either SAConnection object or SACommand object. If it is specified in SAConnection object it affects all the commands on that connection.

If an option is not specially assigned to the SACommand object the Library takes this option from related SAConnection object (see SAConnection::Option  method). If an option is not specified in neither SACommand  nor SAConnection objects, the Library takes the default option value.

setOption method is safe to use in cross-server applications. An option related to a particular server does not affect others. 

See also

Server specific notes

Option

SAConnection::setOption, SAConnection::Option

SAConnection, SAString

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.