CdbDBEngine::SetDefaultType, GetDefaultType Property

Sets or returns a value that indicates what type of workspace (Microsoft Jet or ODBCDirect) will be used by the next Workspace object created.

Syntax

VOIDSetDefaultType(LONG l);

LONGGetDefaultType(VOID);

Set Parameters

Type Example Description
LONG l An integer specifying the type of database engine to use as described in Remarks.

Remarks

The setting or return value can be either of the following constants.

Constant Description
dbUseJet Creates Workspace objects connected to the Microsoft Jet database engine.
dbUseODBC Creates Workspace objects connected to an ODBC data source.