The IsShared property of the Dimension interface indicates whether a dimension object can be shared among multiple MDStore objects. A dimension object that can be shared has a name in the form “MyDim”. A dimension object that is private to a cube has a name of the form “MyCube^MyDim” where “MyCube” is the cube that contains the dimension. The value of a database dimension’s IsShared property is inherited by the associated cubes (and their partitions, aggregations, and virtual cubes).
clsAggregationDimension | clsDatabaseDimension |
clsCubeDimension | clsPartitionDimension |
Boolean
Read-only
Use the following code to determine whether a dimension object can be shared with other dimension objects:
'Assume an object (dsoDim) of ClassType clsDatabaseDimension exists
Dim bShared As Boolean
bShared = dsoDim.IsShared
If bShared Then
'Code for a shared dimension
Else
'Code for a private dimension
End If
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |