Stub: IVariableStub;
The Stub property returns slice data source as an abstract source.
Abstract data source could be, for example, time series database, cube or modeling variable.
Executing the example requires that the repository contains an express report with the EXPRESS identifier containing table.
Add links to the Cubes, Express, Metabase system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Express: IEaxAnalyzer;
Slice: IEaxDataAreaSlice;
Begin
// Get repository
MB := MetabaseClass.Active;
// Get express report
Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
// Get data slice
Slice := Express.DataArea.Slices.Item(0);
// Display to the console abstract source name
Debug.WriteLine("Abstract data source name - " + Slice.Stub.Name);
End Sub UserProc;
After executing the example, the console displays abstract data source name.
See also: