Name: String;
The Name property determines name of data source index.
Sub Main;
Var
MB: IMetabase;
Object: IMetabaseObject;
EtlTask: IEtlTask;
Join: IEtlPlainDataJoin;
Index: IEtlPlainIndex;
s: String;
Begin
MB:=MetabaseClass.Active;
Object:=MB.ItemById("ETL").Edit;
EtlTask:=Object As IEtlTask;
Join:=EtlTask.Item(2) As IEtlPlainDataJoin;
Index:=Join.Index;
s:=Index.Name;
End Sub Main;
After executing this example the "s" variable contains name of index of the third ETL task object. Type of ETL task object is Join. Repository object has the ETL identifier.
See also: