---
url: /flow/guide/scripting-reference/classes/db-connection/dbcon.connectiontype.md
---

# DBCon.ConnectionType

## Declaration

property ConnectionType: See [TRegConType](/flow/guide/scripting-reference/data-types/enumerations/tregcontype);

### Example

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

## Description

Returns the type of database platform the connection points to.
