dbTalk Databases Forums  

Aggregations in Analysis Services 2005 with AMO

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Aggregations in Analysis Services 2005 with AMO in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dale
 
Posts: n/a

Default 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?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.