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
请参阅
参考
clsPartitionLevel
Level Interface