Go to the source code of this file.
Functions |
CA_API UINT __stdcall | ConfigDataSource (MSIHANDLE hInstall) |
| Create, remove or configure a DSN.
|
Function Documentation
CA_API UINT __stdcall ConfigDataSource |
( |
MSIHANDLE |
hInstall | ) |
|
Create, remove or configure a DSN.
- Parameters:
-
DSN_ATTRIBUTES | DSN Attributes for SQLConfigDataSource |
DSN_NAME | DSN Name, used only if DSN_ATTRIBUTES not specified |
ODBC_DRIVER | ODBC driver for SQLConfigDataSource |
ODBC_FLAG | ODBC flag for SQLConfigDataSource, one of the following:
- ODBC_ADD_DSN: create a user DSN
- ODBC_CONFIG_DSN: configure a user DSN
- ODBC_REMOVE_DSN: remove a user DSN
- ODBC_ADD_SYS_DSN: create a system DSN
- ODBC_CONFIG_SYS_DSN: configure a system DSN
- ODBC_REMOVE_SYS_DSN: remove a system DSN
- ODBC_REMOVE_DEFAULT_DSN: remove the default DSN
|