IEtlObject.ObjectType

Syntax

ObjectType: EtlObjectType;

Description

The ObjectType property returns type of ETL task object.

Example

Sub Main;

Var

MB: IMetabase;

EtlTask: IEtlTask;

Object: IEtlObject;

Type: EtlObjectType;

Begin

MB:=MetabaseClass.Active;

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

Object:=EtlTask.Item(0);

Type:=Object.ObjectType;

End Sub Main;

After executing the example the Type variable contains a type of the first ETL task object. The repository object has the ETL identifier.

See also:

IEtlObject