FireDAC.Comp.Client.TFDCustomManager.DriverDefFileAutoLoad

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DriverDefFileAutoLoad: Boolean read GetDriverDefAutoLoad  write SetDriverDefAutoLoad default True;

C++

__property bool DriverDefFileAutoLoad = {read=GetDriverDefAutoLoad, write=SetDriverDefAutoLoad, default=1};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomManager

Description

Controls how the driver definition file must be loaded.

The DriverDefFileAutoLoad property controls how the driver definition file should be loaded: automatically or explicitly by the programmer. When it is set to True, FireDAC loads the file when the manager gets activated. When it is set to False, the programmer should call the FDPhysManager.DriverDefs.Load method before the activation of the manager. Otherwise, an exception is raised.

See Also