Dimensions: ICubeModelDimensionsEx;
The Dimensions property returns the collection of mandatory dimensions for a time series database.
Executing the example requires a time series database with the NewCatalog identifier and a repository dictionary with the D_SEP identifier.
Sub UserProc;
Var
Mb: IMetabase;
Rubr: IRubricator;
Begin
Mb := MetabaseClass.Active;
Rubr := MB.ItemById("NewCatalog").Edit As IRubricator;
Rubr.Dimensions.AddDimensionEx(Mb.ItemById("D_SEP").Bind As IDimensionModel);
(Rubr As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the specified dictionary is added to the list of mandatory dimensions of the time series database.
See also: