OdbcConnection.Driver Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the ODBC driver specified for the current connection.
public:
property System::String ^ Driver { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
public string Driver { get; }
public string Driver { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Driver : string
member this.Driver : string
Public ReadOnly Property Driver As String
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.
- Attributes
Remarks
Retrieving the Driver property is equivalent to calling the ODBC function SQLGetInfo
with the InfoType
parameter set to SQL_DRIVER_NAME.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.