DropTable;
The DropTable method removes elements from database on server of table referenced by given repository table.
Sub Main;
Var
MB: IMetabase;
Table: ITable;
Begin
MB := MetabaseClass.Active;
Table := MB.ItemById("New_Table_1").Bind As ITable;
Table.DropTable;
End Sub Main;
After executing the example, the table, referenced by the New_Proc_1 repository table, is removed from database on server.
See also: