Returns the port_type property of the connection.
the SettingConnection
the type of port this connection is, if any.