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

Delphi

TFDIBConfig = class (TFDIBService)

C++

class PASCALIMPLEMENTATION TFDIBConfig : public TFDIBService

Properties

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

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