Connection.Error (gb.db2)

Property Read Error As Integer

Returns the code of the last error raised by the database driver.