IsReadWrite (Dimension Interface)

注意注意

  下一版本的 Microsoft SQL Server 将删除该功能。 请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The IsReadWrite property of the Dimension interface determines whether dimension writebacks are available to end users who have been granted appropriate permissions.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

Boolean

Access

Access depends on the value of the ClassType property of the object.

Class type

Access

clsDatabaseDimension

R/W*

clsCubeDimension

R

clsPartitionDimension

R

clsAggregationDimension

R

* Read/write for clsDatabaseDimension objects with a SubClassType of sbclsParentChild, read-only for all other clsDatabaseDimension objects.

注释

Setting the IsReadWrite property to True allows end users who have been granted appropriate permissions to modify the contents of a parent-child dimension. They can add or remove dimension levels, members, and member properties.

A write-enabled dimension cannot be added to a cube that contains a remote partition. An error occurs if you try to:

  • Add a write-enabled dimension to a cube with at least one remote partition.

  • Add a remote partition to a cube that contains at least one write-enabled dimension.

  • Set the IsReadWrite property to True for a dimension used by a cube that has a remote partition.

请参阅

参考