IDalOleDbDrivers.DriverName

Syntax

DriverName(Index: Integer): String;

Parameters

Index - driver index in the list.

Description

The DriverName property returns the name of the driver, which index is passed by the Index parameter.

Example

Sub Main;

Var

MB: IMetabase;

DBDriv: IDalOleDbDrivers;

i: Integer;

Begin

MB := MetabaseClass.Active;

DBDriv := New DalOleDbDrivers.Create;

For i := 0 To DBDriv.Count - 1 Do

Debug.WriteLine(DBDriv.DriverName(i));

End For;

End Sub Main;

After executing the example the development environment console displays names of all OLE DB drivers installed in the system.

See also:

IDalOleDbDrivers