Clear;
The Clear method clears the indexes list of the table.
Sub Main;
Var
MB: IMetabase;
Object: IMetabaseObject;
Table: ITable;
Indexes: ITableIndexes;
Index: ITableIndex;
Begin
MB:=MetabaseClass.Active;
Object:=MB.ItemById("TABLE_1").Edit;
Table:=Object As ITable;
Indexes:=Table.Indexes;
Indexes.Clear;
Object.Save;
End Sub Main;
After executing the example, all indexes of the table with the Table_1 identifier are removed.
See also: