Clear;
The Clear method clears the triggers list of the table.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Table: ITable;
Triggers: ITableTriggers;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("TABLE_1").Edit;
Table:=MObj As ITable;
Triggers:=Table.Triggers;
Triggers.Clear;
MObj.Save;
End Sub Main;
After executing the example, all triggers of the table are removed. The table identifier is Table_1.
See also: