Name: String;
The Name property determines output name of a current object.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
ALLLinks: IEtlPlainLinks;
Link: IEtlPlainLink;
Output: IEtlPlainOutput;
s: String;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
ALLLinks:=EtlTask.Links;
Link:=ALLLinks.Item(0);
Output:=Link.SourceObjectOutput;
s:=Output.Name;
End Sub Main;
After executing this example the "s" variable contains name for output of the source object of the first connection of the ETL task. Repository object has the ETL identifier.
See also: