IEtlPlainOutputs.EtlObject

Syntax

EtlObject: IEtlObject;

Description

The EtlObject property returns ETL object.

Example

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    Join: IEtlPlainDataSplit;
    Outputs: IEtlPlainOutputs;
    Object: IEtlObject;
    s: String;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    Join := EtlTask.Item(0As IEtlPlainDataSplit;
    Outputs := Join.PlainOutputs;
    Object := Outputs.EtlObject;
    s := Object.Name;
End Sub UserProc;

After executing the example the "s" variable contains name of the object that corresponds to outputs list. The type of ETL task object is Split. The repository object has the ETL identifier.

See also:

IEtlPlainOutputs