FireDAC.Comp.Client.TFDCustomManager.GetBaseDriverID
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
| Unit: FireDAC.Comp.Client | |
| Parent: TFDCustomManager | |
Delphi
function GetBaseDriverID(const ADriverID: String): String;
C++
System::UnicodeString __fastcall GetBaseDriverID(const System::UnicodeString ADriverID);
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');