Drivers: IDbDrivers;
The Drivers property returns the collection of the DBMS drivers supported in the platform.
Sub UserProc;
Var
Man: IMetabaseManager;
Drivers: IDbDrivers;
Driver: IDbDriver;
i, c: Integer;
Begin
Man := MetabaseManagerFactory.Active;
Drivers := Man.Drivers;
c := Drivers.Count;
For i := 0 To c - 1 Do
Driver := Drivers.Item(i);
Debug.WriteLine("Name: " + Driver.Name + "; Identifier: " + Driver.Id + "; Key: " + Driver.Key.ToString);
End For;
End Sub UserProc;
After executing the example the information about all drivers of the DBMS supported by the platform will be displayed in the development environment console.
See also: