odbc::DriverManager Class Reference

The DriverManager. More...

#include <drivermanager.h>

List of all members.

Static Public Member Functions


Detailed Description

The DriverManager.


Member Function Documentation

static Connection* odbc::DriverManager::getConnection ( const std::string &  connectString  )  [static]

Opens a connection using an ODBC connect string.

Parameters:
connectString Usually something like "DSN=db;uid=user;pwd=password"

static int odbc::DriverManager::getLoginTimeout (  )  [static]

Gets the current login timeout in seconds.

Returns:
The current login timeout in seconds, or 0 if disabled.

static void odbc::DriverManager::setLoginTimeout ( int  seconds  )  [static]

Sets the login timeout in seconds.

Parameters:
seconds The number of seconds to wait for a connection to open. Set to 0 to disable.


The documentation for this class was generated from the following file:
Go back to the libodbc++ homepage