The number of tables in the database.
Visual Basic
Public Readonly Property TableCount As Integer
C#
public int TableCount { get;}
The number of tables in the database or zero if the connection is not open.
Table IDs range from 1 to TableCount, inclusively.
Note: Table IDs and counts may change during a schema upgrade. To correctly identify a table, access it by name or refresh the cached IDs and counts after a schema upgrade.