… = Connections[…] (gb.db2)

Dim hConnection As Connection
hConnection = Connections [ Name As String ]

Return a pre-defined connection from its name.

A pre-defined connection is one that has been defined in the IDE via the Connections|New Connection context menu in the project browser. This creates a text file in the project's hidden .connection directory that can be accessed by the runtime.