The OdbcDsnInfo type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() ![]() | GetDriver |
Gets the driver name associated with the specified Data Source Name.
Looks for it first within the current user registry settings;
if not found, then looks within the current machine registry settings.
|
![]() ![]() | IsMySql |
Determines whether the specified DSN driver is MySql.
|
![]() ![]() | IsOracle |
Determines whether the specified DSN driver is Oracle.
|
![]() ![]() | IsSqlServer |
Determines whether the specified DSN driver is SQL Server.
|
![]() ![]() | IsWindowsAuthentication |
Determines whether the specified DSN name uses Windows authentication or not.
|
![]() ![]() | OdbcTarget |
Gets the ODBC target for the specified DSN name.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | AllDsnElements |
Reads the local user/system DSN registry entries and returns a
Dictionary with keys of Data Source Names and values being the driver type.
|
![]() ![]() | AllDsnNames |
Reads the local user/system DSN registry entries and returns a
sorted list of Data Source Names.
|
See Also