ParentKeyColumn (Level Interface)
注意: |
---|
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 |
The ParentKeyColumn of the Level interface contains the name of the parent column in a parent-child level.
Applies To:clsAggregationLevel, clsCubeLevel, clsDatabaseLevel, clsPartitionLevel
Data Type
String
Access
Access depends on the value of the ClassType property of the object. This property applies only to levels whose SubClassType is sbclsParentChild or sbclsMining.
Class type | Access |
---|---|
clsDatabaseLevel |
R/W* |
clsCubeLevel |
R |
clsPartitionLevel |
R |
clsAggregationLevel |
R |
备注
The ParentKeyColumn property contains the name of the column that stores the key values for the parents of individual members. This setting tells the Analysis server how to find the relationship information necessary to build the hierarchy of members in a parent-child dimension.
注意: |
---|
Because the ParentKeyColumn defines a parent-child relationship, the column named in the ParentKeyColumn property must contain data of the same type as the column named in the MemberKeyColumn property. |
请参阅
参考
Level Interface
LevelTypes
MemberKeyColumn (Level Interface)