Description: String;
The Description property determines description (annotation) of the current object output.
Sub UserProc;
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.Description;
End Sub UserProc;
After executing the example the "s" variable contains a description of source object output of the first link of the ETL task. The repository object has the ETL identifier.
See also: