Show contents 

Db > Db Assembly Interfaces > ITable > ITable.DropTable

ITable.DropTable

Syntax

DropTable;

Description

The DropTable method removes elements from database on server of table referenced by given repository table.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Table: ITable;
Begin
    MB := MetabaseClass.Active;
    Table := MB.ItemById("New_Table_1").Bind As ITable;
    Table.DropTable;
End Sub UserProc;

After executing the example, the table, referenced by the New_Proc_1 repository table, is removed from database on server.

See also:

ITable