Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDatabase::GetTableCount

Syntax

NINT 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


pDatabase->Connect();

n=pDatabase->GetTableCount();

printf("\nThere are %d tables in this database.",n);


TOCIndex