IDalOleDbDrivers.DriverName

Syntax

DriverName(Index: Integer): String;

Parameters

Index is a driver index in the list.

Description

The DriverName property returns a name of the driver, the index of which 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;

Names of all OLE DB drivers installed in the system are displayed in the development environment console after executing this example.

See also:

IDalOleDbDrivers