Clear;
The Clear method clears conditions list.
Sub Main;
Var
MB: IMetabase;
MBObject: IMetabaseObject;
EtlTask: IEtlTask;
Object: IEtlPlainDataSplit;
Begin
MB:=MetabaseClass.Active;
MBObject:=MB.ItemById("ETL").Edit;
EtlTask:=MBObject As IEtlTask;
Object:=EtlTask.Item(0) As IEtlPlainDataSplit;
Object.Clear;
MBObject.Save;
End Sub Main;
After executing the example all conditions of the Split object are removed.
See also: