---
url: >-
  /statelake/scripting-reference/classes/db-connection-class-tflodbcon/dbcon.connectiontype.md
---

# DBCon.ConnectionType

Returns the type of database platform the **DB Connection** points to.

**Declaration**: property ConnectionType: TRegConType;

For more information, please refer to [TRegConType](/statelake/scripting-reference/data-types/enumerations/tregcontype).

A sample of code follows.

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Source.DBCons[0].DBCon.ConnectionType;
end;
```
