Aggregations in Analysis Services 2005 with AMO -
05-18-2006
, 03:47 PM
I am porting DSO to AMO and having difficulty with adding an
aggregation using AMO.
I have looked at the AMO samples but nothing defines a new aggregation.
Here is an abbreviated set of code I am trying to port which creates an
aggregation for Level1 in Dimension1:
' Add Aggregation to a Partition
Set dsoAgg = dsoPartition.MDStores.AddNew("Agg1")
' Find Dimension1 in the aggregation
Set dsoAggDim = dsoAgg.Dimensions("Dimension1")
' Add level to aggregation
Set dsoLev = dsoAggDim.Levels.AddNew("Level1")
' Update the partition.
dsoPartition.Update
Anybody know how to do this same DSO code in AMO?
AMO class library isn't documented very well, anybody know when the AMO
class library will be documented? |