FireDAC.Phys.IBBase.TFDIBInfo

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.IBBase.TFDIBServiceFireDAC.Phys.TFDPhysDriverServiceFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDIBInfo

Delphi

TFDIBInfo = class (TFDIBService)

C++

class PASCALIMPLEMENTATION TFDIBInfo : 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

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');

See Also