HasScenarioDimension: Boolean;
The HasScenarioDimension property determines whether time series database supports scenarios.
Available values:
True. Default value for created time series databases. Scenarios are supported.
False. Scenarios are not supported. It allows for increased processing speed of time series database.
Executing the example requires that the repository contains a time series database with the TSDB_SCENARIO identifier.
Add links to the Cubes and Metabase system assemblies.
Sub UserProc;
Var
mb: IMetabase;
TSDB: IRubricator;
Begin
mb := MetabaseClass.Active;
TSDB := mb.ItemById("TSDB_SCENARIO").Edit As IRubricator;
TSDB.HasScenarioDimension := False;
(TSDB As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the TSDB_SCENARIO time series database will not support scenarios.
See also: