FireDAC.Phys.TFDPhysDriverLink.VendorHome

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property VendorHome: String read FVendorHome write FVendorHome;

C++

__property System::UnicodeString VendorHome = {read=FVendorHome, write=FVendorHome};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.pas
FireDAC.Phys.hpp
FireDAC.Phys TFDPhysDriverLink

Description

The CLI library installation folder.

Use VendorHome to specify the CLI library installation folder. Depending on the DBMS, that may be one of the following:

  • Installation Home Name for Oracle.
  • Installation root folder for the other DBMSs. The CLI library will be loaded from the Bin subfolder. For example, for MySQL VendorHome may be c:\mysql.

A VendorHome change will have effect only before the first connection through this driver, otherwise you must use the Release method.

The property value is platform-independent and will be used for all the platforms, including Win32, Win64, MacOS32, MacOS64, Linux32, and Linux64. To specify multiple platform-specific values, use the driver configuration file.

Example

FDConnection1.Close;
FDPhysOracleDriverLink1.Release;
FDPhysOracleDriverLink1.VendorHome := 'OracleXE';
FDConnection1.Open;

See Also