|
<< Click to Display Table of Contents >> sesCFGMODE2 |
![]() ![]()
|
Replaces sesCFGMODE, letting you specify how aliases and drivers appear in the list returned by DbiOpenCfgInfoList DbiOpenDatabaseList and DbiOpenDriverList You can combine the following settings using a binary AND:
Setting |
Description |
cfgmNone |
Use sesCFGMODE (for backward compatibility). |
cfgmVirtual |
Show only ODBC drivers and data sources, whether they're in the configuration file or not. |
cfgmPersistent |
Show only aliases and drivers saved in the configuration file. |
cfgmSession |
Show only aliases and drivers added to the current session. |
cfgmAll |
Show all aliases and drivers (shortcut for combining all settings). |
For example, set sesCFGMODE2 to cfgmVirtual & cfgmSession to display drivers and aliases added to the current session in addition to ODBC drivers, data sources.