SetPersistAggregate method: CubeCollectionDefn class

Syntax

SetPersistAggregate(DimensionName, AggregateType)

Description

Use the SetPersistAggregate to specify the value for the persist aggregate for the dimension specified by DimensionName.

Parameters

Parameter Description

DimensionName

Specify the name of the dimension for which you want to set the persist aggregate.

AggregateType

Specify the aggregate type. Values are:

Value Description

AnalyticModel_AggrType_Root

The persist aggregate type is Root, that is, only the root node's data is saved to the database.

AnalyticModel_AggrType_All

The persist aggregate type is All, that is, save all of the dimension's aggregate data to the database.

AnalyticModel_AggrType_ None

The persist aggregate type is None, that is, do not save any of the dimension's aggregate data to the database.

Returns

None.