FireDAC.Phys.IBBase.TFDIBInfo
Delphi
TFDIBInfo = class (TFDIBService)
C++
class PASCALIMPLEMENTATION TFDIBInfo : public TFDIBService
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.IBBase.pas FireDAC.Phys.IBBase.hpp |
FireDAC.Phys.IBBase | FireDAC.Phys.IBBase |
Description
Service component for InterBase and Firebird to query the service manager for the server version, license, configuration and usage information.
To configure the connection to the database server, you must fill the following properties: DriverLink, Host, Protocol, UserName and Password.
Example
uses
FireDAC.Phys.IBWrapper, FireDAC.Stan.Consts;
...
var
rVer: TIBInfo.TVersion;
...
FDIBInfo1.DriverLink := FDPhysIBDriverLink1;
FDIBInfo1.Host := '127.0.0.1';
FDIBInfo1.UserName := 'sysdba';
FDIBInfo1.Password := 'masterkey';
FDIBInfo1.GetVersion(rVer);
if rVer.FServer >= ivIB120000 then // XE7
ShowMessage('It is InterBase XE7 or higher');