DestinationObjectInput: IEtlPlainInput;
The DestinationObjectInput property determines object input in which data flow enters.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Links: IEtlPlainLinks;
Link: IEtlPlainLink;
Input: IEtlPlainInput;
S: String;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Links:=EtlTask.Links;
Link:=Links.Item(0);
Input:=Link.DestinationObjectInput;
S:=Input.Id;
End Sub Main;
After executing this example the "s" variable contains identifier of object input to which data flow enters. Repository object has the ETL identifier.
See also: