System.Data.Odbc.OdbcConnectionStringBuilder.Driver Property

Gets or sets the name of the ODBC driver associated with the connection.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.DisplayName("Driver")]
public string Driver { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the value passed in is null when you try to set the property, the OdbcConnectionStringBuilder.Driver property is reset. If the value has not been set and the developer tries to retrieve the property, the return value is String.Empty. This property corresponds to the "Driver" key within the connection string.

Requirements

Namespace: System.Data.Odbc
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0