ObjectTypeName: String;
The ObjectType property returns name of ETL task object type.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Object: IEtlObject;
s: String;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Object:=EtlTask.Item(0);
s:=Object.ObjectTypeName;
End Sub Main;
After executing the example the "s" variable contains name of the first ETL task object type. The repository object has the ETL identifier.
See also: