IEtlPlainInput.Name

Syntax

Name: String;

Description

The Name property determines input name of the current object.

Example

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    ALLLinks: IEtlPlainLinks;
    Link: IEtlPlainLink;
    Input: IEtlPlainInput;
    s: String;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    ALLLinks := EtlTask.Links;
    Link := ALLLinks.Item(0);
    Input := Link.DestinationObjectInput;
    s := Input.Name;
End Sub UserProc;

After executing the example the "s" variable contains a name of input for consumer object of the first connection of the ETL task. The repository object has the ETL identifier.

See also:

IEtlPlainInput