FireDAC.Comp.Client.TFDCustomManager.GetBaseDriverID
Delphi
function GetBaseDriverID(const ADriverID: String): String;
C++
System::UnicodeString __fastcall GetBaseDriverID(const System::UnicodeString ADriverID);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomManager |
Description
Returns the ID of a base driver for the specified driver ID.
Use GetBaseDriverID to get a base driver ID for the specified driver ID, where the specified driver ID can be a base or a virtual driver ID.
Example
var
sBaseID: String;
......
sBaseID := FDManager.GetBaseDriverID('MSSQLExpress');
if SameText(sBaseID S_FD_MSSQLId) then
ShowMessage('It is a MSSQL base driver');