|
SDTS_AL
|
#include <cpl_odbc.h>
Public Member Functions | |
| int | EstablishSession (const char *pszDSN, const char *pszUserid, const char *pszPassword) |
| const char * | GetLastError () |
A class representing an ODBC database session.
Includes error collection services.
| int CPLODBCSession::EstablishSession | ( | const char * | pszDSN, |
| const char * | pszUserid, | ||
| const char * | pszPassword | ||
| ) |
Connect to database and logon.
| pszDSN | The name of the DSN being used to connect. This is not optional. |
| pszUserid | the userid to logon as, may be NULL if not not required, or provided by the DSN. |
| pszPassword | the password to logon with. May be NULL if not required or provided by the DSN. |
| const char * CPLODBCSession::GetLastError | ( | ) |
Returns the last ODBC error message.
1.8.0