Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAConnection::setClient

void setClient( SAClient_t eSAClient );
throw (SAException);

Assigns an DBMS client for the connection.

Parameters

eSAClient.    One of the following values from SAClient_t enum

Remarks

You can set a client in Connect method, in this case you don't need to use setClient method. The main destination of this method is to connect to a server with no connection to a database (for example, to check a client availability and version). But if you are calling Connect method with no specified client you have to use setClient method before.

If you are calling setClient method when the connection is set to another client the previous connection will be disconnected and new client will be set.

See also

Connect, setOption

SAClient_t

Error handling

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.