Delete(N: Integer);
N — condition index.
The Add method adds a new condition that reflects binding of input fields with output ones.
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.Delete(0);
MBObject.Save;
End Sub Main;
After executing the example the first condition of the Split object is removed.
See also: