EstimatedSize

The EstimatedSize property of the Level interface contains the estimated number of members in the level object. The EstimatedSize property is used by the partition analyzer when designing aggregations.

Applies To
clsAggregationLevel clsDatabaseLevel
clsCubeLevel clsPartitionLevel

Data Type

Long

Access

The access type depends on the level object class.

Class Access
clsDatabaseLevel R/W
clsCubeLevel R
clsPartitionLevel R
clsAggregationLevel R

Remarks

The EstimatedSize property is used during analysis of a partition for designing aggregations. The value does not need to be precise, but a close approximation should be provided.

Example

' Assume an object (dsoDim) of ClassType clsDimension exists

Set dsoLev = dsoDim.Levels.AddNew("Store Id")

dsoLev.MemberKeyColumn = """store"".""store_number"""

dsoLev.ColumnSize = 4

dsoLev.ColumnType = adInteger

dsoLev.EstimatedSize = 24


Note The EstimatedSize property for the (All) level is read-only and always returns 1.


See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.