IEtlPlainInputs.EtlObject

Syntax

EtlObject: IEtlObject;

Description

The EtlObject property returns ETL object.

Example

Sub Main;

Var

MB: IMetabase;

EtlTask: IEtlTask;

Join: IEtlPlainDataJoin;

Inputs: IEtlPlainInputs;

Object: IEtlObject;

S: String;

Begin

MB:=MetabaseClass.Active;

EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;

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

Inputs:=Join.PlainInputs;

Object:=Inputs.EtlObject;

s:=Object.Name;

End Sub Main;

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

See also:

IEtlPlainInputs