IEtlPlainField.Id

Syntax

Id: String;

Description

The Id property determines field identifier of flat data source or consumer.

Example

Sub Main;

Var

MB: IMetabase;

EtlTask: IEtlTask;

Link: IEtlPlainLink;

Input: IEtlPlainInput;

Fields: IEtlPlainFields;

Field: IEtlPlainField;

s: String;

Begin

MB:=MetabaseClass.Active;

EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;

Link:=EtlTask.Links.Item(0);

Input:=Link.DestinationObjectInput;

Fields:=Input.Fields;

Field:=Fields.Item(0);

s:=Field.Id;

End Sub Main;

After executing this example the "s" variable contains an identifier of the first field of the first input of ETL task object. Repository object has the ETL identifier.

See also:

IEtlPlainField