Show contents 

Express > Express Assembly Interfaces > IEaxDataAreaSlice > IEaxDataAreaSlice.Stub

IEaxDataAreaSlice.Stub

Syntax

Stub: IVariableStub;

Description

The Stub property returns slice data source as an abstract source.

Comments

Abstract data source could be, for example, time series database, cube or modeling variable.

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a 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 name of abstract source in the console window
    Debug.WriteLine("Name of abstract data source - " + Slice.Stub.Name);
End Sub UserProc;

After executing the example, the console displays abstract data source name.

See also:

IEaxDataAreaSlice