Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTDatabase.GetTableCount

Syntax

int GetTableCount( )

Parameters

This method has no parameters.

Description

Retrieves the number of tables in the database dictionary.

Return

GetTableCount() returns the number of tables in the database.

Example

aDatabase.Connect();

n = aDatabase.GetTableCount();

Console.Write("\nThere are {0} tables in this database.",n);

TOCIndex