Collections, MDStore Interface

ms134716.note(zh-tw,SQL.90).gif附註:
  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

The MDStore interface supports the following collections.

Collection Description

Commands

The collection of user-defined commands or sequence of commands

CustomProperties

The collection of user-defined properties

DataSources

The collection of objects specifying a data provider

Dimensions

The collection that holds the dimension definitions for an object

MDStores

The collection that holds MDStore objects

Measures

The collection that holds the measures

MiningModels

The collection of data mining models contained within a database

Roles

The collection that holds the user role definitions for a database

The following table shows the class types of the objects that each collection can contain.

Collection Class type of contained objects

Commands

clsCubeCommand, clsDatabaseCommand

CustomProperties

Property

DataSources

clsDataSource

Dimensions

clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

MDStores

clsAggregation, clsCube, clsDatabase, clsPartition

Measures

clsAggregationMeasure, clsCubeMeasure, clsPartitionMeasure

MiningModels

clsMiningModel

Roles

clsCubeRole, clsDatabaseRole, clsMiningModelRole

Access Cross-Reference

The following table shows whether a collection is read/write (R/W), read-only (R), or not applicable (n/a) for each of the MDStore objects.

Collection clsDatabase clsCube clsPartition clsAggregation

Commands

R/W

R/W

n/a

n/a

Custom Properties

R/W

R/W

R/W

R/W

DataSources

R/W

R/W*

R/W

n/a

Dimensions

R/W

R/W

R

R

MDStores

R/W

R/W

R/W

R

Measures

n/a

R/W

R

R

MiningModels

R/W

n/a

n/a

n/a

Roles

R/W

R/W

n/a

n/a

*This property is not applicable (n/a) for virtual cubes (that is, those of SubClassType sbclsVirtual).

請參閱

參考

MDStore Interface

說明及資訊

取得 SQL Server 2005 協助