Export (0) Print
Expand All

OdbcConnection.Driver Property

Gets the name of the ODBC driver specified for the current connection.

Namespace: System.Data.Odbc
Assembly: System.Data (in system.data.dll)

public string Driver { get; }
/** @property */
public String get_Driver ()

public function get Driver () : String

Not applicable.

Property Value

The name of the ODBC driver. This typically is the DLL name (for example, Sqlsrv32.dll). The default value is an empty string ("") until the connection is opened.

Retrieving the Driver property is equivalent to calling the ODBC function SQLGetInfo with the InfoType parameter set to SQL_DRIVER_NAME.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft