FireDAC.Phys.TFDPhysDriverLink.DriverID
Delphi
property DriverID: String read FDriverID write SetDriverID;
C++
__property System::UnicodeString DriverID = {read=FDriverID, write=SetDriverID};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Phys.pas FireDAC.Phys.hpp |
FireDAC.Phys | TFDPhysDriverLink |
Description
Specifies the virtual driver ID.
Use DriverID to specify a virtual driver ID. If DriverID is not specified, then any changes to a driver link properties will be applied to a base driver. Otherwise, the virtual driver will be created and configured.
The DriverID must be unique across an application.
Example
FDPhysIBDriverLink1.DriverID := 'FB25'; FDPhysIBDriverLink1.VendorLib := 'c:\fb25_64\fbclient.dll'; FDConnection1.Params.Clear; FDConnection1.Params.Add('DriverID=FB25'); FDConnection1.Params.Add('Database=c:\addemo.fdb'); FDConnection1.Params.Add('Server=127.0.0.1'); FDConnection1.Params.Add('Protocol=TCPIP'); FDConnection1.Connected := True;