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 the example the "s" variable contains name of index of the third ETL task object. The type of ETL task object is Join. The repository object has the ETL identifier.
See also: