다음을 통해 공유


Parent (Dimension Interface)

[!참고]

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

The Parent property of the Dimension interface contains a reference to the parent MDStore object.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

MDStore

Access

Read-only

주의

The value of the ClassType property of the parent object depends on the value of the ClassType property of the object.

Dimension object ClassType

Parent object ClassType

clsDatabaseDimension

clsDatabase

clsCubeDimension

clsCube

clsPartitionDimension

clsPartition

clsAggregationDimension

clsAggregation

Use the following code to obtain the parent of a dimension object:

'Assume an object (dsoDim) of ClassType clsDimension exists.
Dim objClassType As ClassTypes
objClassType = dsoDim.Parent.ClassType
Select Case objClassType
    Case clsDatabase
        'Insert code for the database parent object.
    Case clsCube
        'Insert code for the cube/virtual cube parent object.
    Case clsPartiton
        'Insert code for the partition parent object.
    Case clsAggregation
        'Insert code for the aggregation parent object.
End Select

참고 항목

참조