다음을 통해 공유


SliceValue (Level Interface)

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

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

Applies To:clsPartitionLevel

Data Type

String

Access

Read/write

주의

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