CDataSource Class Members

Methods

Close Closes the connection.
GetProperties Gets the values of properties currently set for the provider connection. (See IDBProperties::GetProperties.)
GetProperty Gets the value of a single property currently set for the provider connection.
Open Creates a connection to a provider (data source) using either a CLSID, ProgID, or a Cenumerator provided by the caller.
OpenWithPromptFileName Allows the user to select a previously created data link file to open the corresponding data source.
OpenFromFileName Opens the data source specified by a data link file.
OpenFromInitializationString Opens the data source specified by an initialization string.
GetInitializationString Retrieves the initialization string of the data source that is currently open.

Data Members

m_spInit A smart pointer to the data source object.

CDataSource Overview