Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

odbc::DriverManager Class Reference

The DriverManager. More...

#include <drivermanager.h>

List of all members.

Static Public Methods


Detailed Description

The DriverManager.


Member Function Documentation

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"

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

Gets the current login timeout in seconds.

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

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 freeodbc++ homepage