Show: Object Pascal C++
Display Preferences

FireDAC.Phys.MSSQL.TFDPhysMSSQLDriverLink

From Appmethod Libraries
Jump to: navigation, search

FireDAC.Phys.ODBCBase.TFDPhysODBCBaseDriverLinkFireDAC.Phys.TFDPhysDriverLinkFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDPhysMSSQLDriverLink

Object Pascal

TFDPhysMSSQLDriverLink = class(TFDPhysODBCBaseDriverLink)

C++

class PASCALIMPLEMENTATION TFDPhysMSSQLDriverLink : public Firedac::Phys::Odbcbase::TFDPhysODBCBaseDriverLink

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.MSSQL.pas
FireDAC.Phys.MSSQL.hpp
FireDAC.Phys.MSSQL FireDAC.Phys.MSSQL

Description

Use the TFDPhysMSSQLDriverLink component to link the Microsoft SQL Server driver to an application and to set it up.

Use the TFDPhysMSSQLDriverLink component to link the Microsoft SQL Server driver to an application. In general, it is enough to include the FireDAC.Phys.MSSQL unit in your application uses clause.

The TFDPhysMSSQLDriverLink component can be used to specify:

  • The ODBCDriver - the SQL Server ODBC driver name.
  • The ODBCAdvanced - the connection parameter for the ODBC driver of the SQL Server. This parameter is shared by all connections.
  • The VendorLib - the ODBC driver manager. By default, it is odbc32.dll and should remain unchanged in most cases.

All properties have default values appropriate for most cases. To produce an effect, you must either perform all property changes before the first connection through this driver or use the Release method.

Example

FDPhysMSSQLDriverLink1.ODBCAdvanced := 'MARS_Connection=no;Regional=yes';
FDPhysMSSQLDriverLink1.ODBCDriver := 'SQL Native Client';

See Also

Personal tools
Translations