Clear;
The Clear method clears outputs list of ETL task object.
Sub Main;
Var
MB: IMetabase;
Object: IMetabaseObject;
EtlTask: IEtlTask;
Join: IEtlPlainDataSplit;
Outputs: IEtlPlainOutputs;
Begin
MB:=MetabaseClass.Active;
Object:=MB.ItemById("ETL").Edit;
EtlTask:=Object As IEtlTask;
Join:=EtlTask.Item(0) As IEtlPlainDataSplit;
Outputs:=Join.PlainOutputs;
Outputs.Clear;
Object.Save;
End Sub Main;
After executing this example all outputs of the first ETL task object are removed. Type of ETL task object is Split. Repository object has the ETL identifier.
See also: