TableCount property

The number of tables in the database.

Syntax
Visual Basic

Public Readonly Property TableCount As Integer
C#

public int TableCount  { get;}
Property value

The number of tables in the database or zero if the connection is not open.

Remarks

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.

See also