Show contents 

ETL > ETL Assembly Interfaces > IEtlPlainField > IEtlPlainField.Description

IEtlPlainField.Description

Syntax

Description: String;

Description

The Description property determines a description (comment) of field of flat data provider/data consumer.

Example

Sub UserProc;
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.Description;
End Sub UserProc;

After executing the example the "s" variable contains a description of the first field of the first input of ETL task object. The repository object has the ETL identifier.

See also:

IEtlPlainField