|
static bool CODataSource::CreateDataSource(LPCOLESTR strProvider, LPCOLESTR strServer); Return Value true if successful; otherwise false. Parameters [in] strProvider: Connection string. See example MkTbls. [in] strServer: Data source. See example MKTbls. Remarks Creates a data source by using interface IDBDataSourceAdmin of object TDataSource. It is commonly used for creating a MS Access file (*.mdb). For creating other database files, spreadsheets, and textual data stored in tabular format through installable ISAM drivers, you may need to use CODataSource::Open with use of CODataSource::SetProviderString. CODataSource Class Overview & Class Members
|