dbTalk Databases Forums  

ADOMD.Net & GetSchemaDataSet, where are my perspectives?

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


Discuss ADOMD.Net & GetSchemaDataSet, where are my perspectives? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default ADOMD.Net & GetSchemaDataSet, where are my perspectives? - 03-23-2006 , 08:38 AM






Hi,

I'm using the GetSchemaDataSet function to retrieve my metadata.
This return my cube list, but not the perspectives!

how to retrieve my perspectives?

My code:
Dim dsCubes As System.Data.DataSet

Dim restcoll As New AdomdRestrictionCollection

restcoll.Add("CATALOG_NAME", sDatabase)
dsCubes = ocn.GetSchemaDataSet("MDSCHEMA_CUBES", restcoll)

Return dsCubes


thanks.

Jerome.



Reply With Quote
  #2  
Old   
Joerg
 
Posts: n/a

Default RE: ADOMD.Net & GetSchemaDataSet, where are my perspectives? - 03-23-2006 , 02:49 PM






Hello Jeje,

sorry, this is not helpful I tried your code and worked.
Did you try to query measure groups?

Jörg


"Jéjé" wrote:

Quote:
Hi,

I'm using the GetSchemaDataSet function to retrieve my metadata.
This return my cube list, but not the perspectives!

how to retrieve my perspectives?

My code:
Dim dsCubes As System.Data.DataSet

Dim restcoll As New AdomdRestrictionCollection

restcoll.Add("CATALOG_NAME", sDatabase)
dsCubes = ocn.GetSchemaDataSet("MDSCHEMA_CUBES", restcoll)

Return dsCubes


thanks.

Jerome.




Reply With Quote
  #3  
Old   
Jéjé
 
Posts: n/a

Default Re: ADOMD.Net & GetSchemaDataSet, where are my perspectives? - 03-23-2006 , 05:05 PM



you are right!!!

I have missed a filter in my code which exclude perspectives!!!! :-)

sorry for the Kb taken by these posts ;-)


"Joerg" <Joerg (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello Jeje,

sorry, this is not helpful I tried your code and worked.
Did you try to query measure groups?

Jörg


"Jéjé" wrote:

Hi,

I'm using the GetSchemaDataSet function to retrieve my metadata.
This return my cube list, but not the perspectives!

how to retrieve my perspectives?

My code:
Dim dsCubes As System.Data.DataSet

Dim restcoll As New AdomdRestrictionCollection

restcoll.Add("CATALOG_NAME", sDatabase)
dsCubes = ocn.GetSchemaDataSet("MDSCHEMA_CUBES", restcoll)

Return dsCubes


thanks.

Jerome.






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.