共用方式為


Parent (MDStore Interface)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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

Applies To:clsAggregation, clsCube, clsDatabase, clsPartition

Data Type

Object

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

Class type

Returned object class type

clsDatabase

clsServer

clsCube

clsDatabase

clsPartition

clsCube

clsAggregation

clsPartition

Access

Read-only

備註

The return type of the Parent property depends on the ClassType property of the object itself. For example, an object of ClassType clsDatabase has an MDStores collection that contains objects of ClassType clsCube. The object of ClassType clsDatabase is the parent of the clsCube objects.

請參閱

參考