IEtlPlainOutputs.Add

Syntax

Add;

Description

The Add method adds an output of ETL task object.

Example

Sub UserProc;
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(0As IEtlPlainDataSplit;
    Outputs := Join.PlainOutputs;
    Outputs.Add;
    Object.Save;
End Sub UserProc;

After executing the example one output in the first ETL task object is created. The type of ETL task object is Split. The repository object has the ETL identifier.

See also:

IEtlPlainOutputs