Jaa


SliceValue (Level Interface)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The SliceValue property of the Level interface contains the level slice value.

Applies To:clsPartitionLevel

Data Type

String

Access

Read/write

Remarks

This property applies only to levels whose SubClassType is sbclsRegular, sbclsParentChild, or sbclsMining. For all other levels, this property returns an empty string.

Examples

Use the following code to set a level object slice value to the member name May_Sales:

' Assume an object (dsoLevel) of ClassType clsPartitionLevel 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

Reference

clsPartitionLevel
Level Interface

Other Resources

Dimensions (MDX)

Help and Information

Getting SQL Server 2005 Assistance