OdbcDsnInfo MethodsCleanCode C# Libraries v1.2.03 API
The OdbcDsnInfo type exposes the following members.
Methods

  NameDescription
Public methodStatic memberGetDriver
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.
Public methodStatic memberIsMySql
Determines whether the specified DSN driver is MySql.
Public methodStatic memberIsOracle
Determines whether the specified DSN driver is Oracle.
Public methodStatic memberIsSqlServer
Determines whether the specified DSN driver is SQL Server.
Public methodStatic memberIsWindowsAuthentication
Determines whether the specified DSN name uses Windows authentication or not.
Public methodStatic memberOdbcTarget
Gets the ODBC target for the specified DSN name.
Back to Top
See Also