Connection.Port (gb.db2)

Property Port As String

Returns or sets the TCP/IP port used for establishing the connection.

The default port depends on the connection Type.