IEtlPlainOutput.Fields

Syntax

Fields: IEtlPlainFields;

Description

The Fields property returns the object that contains a list of current object output fields.

Example

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    ALLLinks: IEtlPlainLinks;
    Link: IEtlPlainLink;
    Output: IEtlPlainOutput;
    Fields: IEtlPlainFields;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    ALLLinks := EtlTask.Links;
    Link := ALLLinks.Item(7);
    Output := Link.SourceObjectOutput;
    Fields := Output.Fields;
    i := Fields.Count;
End Sub UserProc;

After executing the example the "i" variable contains the number of output fields of the current object. The repository object has the ETL identifier.

See also:

IEtlPlainOutput