---
url: /statelake/scripting-reference/data-types/enumerations/tregcontype.md
---

# TRegConType

Identifies the type of database platform a **DB Connection** is pointing to.

Used in the **DBCon.ConnectionType** class, along with an identifier for source or destination, the **DB Connection** object can be used to interact with the configuration **DB Connection** during a mapping process.

Please also refer to [DBCon.ConnectionType](/statelake/scripting-reference/classes/db-connection-class-tflodbcon/dbcon.connectiontype) for additional information.

**Declaration**: TRegConType = keyword

An example of its use follows.

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

## Keyword

ctMSSQL

ctMySQL

ctODBC
