FireDAC.Phys.IBBase.TFDIBConfig

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.IBBase.TFDIBServiceFireDAC.Phys.TFDPhysDriverServiceFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDIBConfig
[–] Properties
Type: class
Visibility: public
Source:
FireDAC.Phys.IBBase.pas
FireDAC.Phys.IBBase.hpp
Unit: FireDAC.Phys.IBBase
Parent: FireDAC.Phys.IBBase

Delphi

TFDIBConfig = class (TFDIBService)

C++

class PASCALIMPLEMENTATION TFDIBConfig : public TFDIBService

Description

The class implementing Firebird and InterBase database properties setting service.

Use the TFDIBConfig component to add a database properties setting capability to an application. This is a programmatic method to invoke the gfix tool as a thread in the DB server process.

To configure the connection to the database server, you must fill the following properties: DriverLink, Host, Protocol, UserName and Password.

To set a database property, an application should:

Example

FDIBConfig1.DriverLink := FDPhysIBDriverLink1;
FDIBConfig1.UserName := 'sysdba';
FDIBConfig1.Password := 'masterkey';
FDIBConfig1.Host := 'db.srv.host';
FDIBConfig1.Protocol := ipTCPIP;
FDIBConfig1.Database := 'e:\ib\addemo.gdb';
FDIBConfig1.ShutdownDB(smForce, 5);

See Also