AggregationPrefix (MDStore Interface)

ms133256.note(zh-cn,SQL.90).gif注意:
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The AggregationPrefix property of the MDStore interface contains the prefix associated with an aggregation in an MDStore object.

Applies To:clsAggregation, clsCube, clsDatabase, clsPartition

Data Type

String (maximum length 50 characters, exclusive of any plus signs)

Access

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

Class type Access

clsCube

R/W

clsDatabase

R/W

clsPartition

R/W

clsAggregation

R

备注

The default value for this property depends on the value of the ClassType property of the object.

Class type Default value

clsDatabase

None.

clsCube

None.

clsPartition

If not provided by user, a unique name is derived from the parent cube name and partition name.

clsAggregation

The name of the parent partition.

Aggregation prefixes are used to generate aggregation names, and they are used for table names in the relational database.

A fully expanded aggregation name has four parts:

<DatabasePrefix><CubePrefix><PartitionPrefix><AggregationID>

The first three parts of the name are provided by the user and make up the aggregation prefix; the fourth part of the name is a system-defined ID over which users have no control. The first two prefixes (DatabasePrefix and CubePrefix) are optional. CubePrefix is used only if PartitionPrefix begins with a plus sign (+), and DatabasePrefix is used only if CubePrefix begins with a plus sign. For example, if PartitionPrefix is +_Partition1, CubePrefix is +_1995, and DatabasePrefix is Sales, the aggregation prefix is Sales_1995_Partition1.

请参阅

参考

MDStore Interface

帮助和信息

获取 SQL Server 2005 帮助