PTLib
Version 2.10.4
|
DSN (Data Source Name) Connection. More...
#include <podbc.h>
Public Member Functions | |
Constructor/Deconstructor | |
PDSNConnection () | |
~PDSNConnection () | |
Connection/Disconnect | |
PBoolean | Connect (PString Source, PString Username, PString Password) |
Connect to the MDAC using a pre-existing MDAC Defined DataSource This is different than calling PODBC::DataSource in that the Data Source is known defined externally within MDAC,. |
DSN (Data Source Name) Connection.
The connection settings have been preconfiured in the MDAC (Microsoft Data Access Component) and is called using those Preset Settings. Calling the PDSNConnection::Connect has the same effect and is a replaceable for PODBC::DataSource,
PBoolean PDSNConnection::Connect | ( | PString | Source, |
PString | Username, | ||
PString | Password | ||
) |
Connect to the MDAC using a pre-existing MDAC Defined DataSource This is different than calling PODBC::DataSource in that the Data Source is known defined externally within MDAC,.