Parent (MDStore Interface)

ms132787.note(zh-cn,SQL.90).gif注意:
  下一版本的 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.

请参阅

参考

MDStore Interface

帮助和信息

获取 SQL Server 2005 帮助