Id: String;
The Id property determines identifier of a current object input.
Sub Main;
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.Id;
End Sub Main;
After executing this example the "s" variable contains an identifier of consuming object input of the first connection of the ETL task. Repository object has the ETL identifier.
See also: