SliceValue

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.

Applies To
clsPartitionLevel  

Data Type

String

Access

Read/write

Example

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

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.