The SliceValue property of the Level interface contains the level slice value. For clsPartitionLevel, if the current level is an All level, it returns the value of property object.MemberNameColumn. For clsAggregationLevel, the slice value of the partition level is returned.
clsPartitionLevel |
String
Read/write
Use the following code to set a level object slice value to the member name “May_Sales”:
' Assume an object (dsoLevel) of ClassType clsCubeLevel exists
dsoLevel.SliceValue = "May_Sales"
Use the following code to return the slice value for a level object:
Dim sSliceVal As String
sSliceVal = LevelObject.SliceValue
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |