IEtlPlainInputs.Clear

Syntax

Clear;

Description

The Clear method clears inputs list of ETL task object.

Example

Sub Main;

Var

MB: IMetabase;

Object: IMetabaseObject;

EtlTask: IEtlTask;

Join: IEtlPlainDataJoin;

Inputs: IEtlPlainInputs;

Begin

MB:=MetabaseClass.Active;

Object:=MB.ItemById("ETL").Edit;

EtlTask:=Object As IEtlTask;

Join:=EtlTask.Item(0) As IEtlPlainDataJoin;

Inputs:=Join.PlainInputs;

Inputs.Clear;

Object.Save;

End Sub Main;

After executing the example all inputs of the first ETL task object are removed. The type of ETL task object is Join. The repository object has the ETL identifier.

See also:

IEtlPlainInputs