Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTDatabase.DropTable

Syntax

void DropTable(String Name)

Parameters

  • Name [in] The name of the table to drop from the database.

Description

Drops a table from the database, but does not delete the files from disk. After one table has been dropped from the database, it may be operated independent from a Database using the CTSession.SetLogonOnly() method, or it may be added to any other database in the system.

Return

None.

Example

MyTable.Close(); // close the custmast table.

MyDatabase.DropTable("custmast");

See Also

AddTable(), CTSession.SetLogonOnly(), DeleteTable()

TOCIndex