dbTalk Databases Forums  

Detecting 2000/2005 cube versions

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


Discuss Detecting 2000/2005 cube versions in the microsoft.public.sqlserver.olap forum.



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

Default Detecting 2000/2005 cube versions - 01-25-2006 , 03:51 AM






I'm trying to modify an existing component to work correctly with both 2000
and 2005 cubes. However, certain differences mean that I need to know which
ones I'm talking to. I currently make a single connection using ADOMD
(COM-based). How can I tell which version of Analysis Services I'm connected
to?

Tony Proctor



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

Default Re: Detecting 2000/2005 cube versions - 01-25-2006 , 07:39 PM






the adomdconnection object provides a property called serverversion


"Tony Proctor" <tony_proctor (AT) aimtechnology_NoMoreSPAM_ (DOT) com> wrote

Quote:
I'm trying to modify an existing component to work correctly with both
2000
and 2005 cubes. However, certain differences mean that I need to know
which
ones I'm talking to. I currently make a single connection using ADOMD
(COM-based). How can I tell which version of Analysis Services I'm
connected
to?

Tony Proctor





Reply With Quote
  #3  
Old   
Tony Proctor
 
Posts: n/a

Default Re: Detecting 2000/2005 cube versions - 01-26-2006 , 05:05 AM



This is the COM version I'm using. However, I did find a connection property
called "DBMS Version". Although the documentation is a little ambiguous
about what it presents, it does seem to be what I'm after. This is confirmed
by the "DBMS Name" property being "OLAP Server" too, which makes sense since
a "Provider=MSOLAP" clause had been specified in the connection string.

Thanks anyway

Tony Proctor

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote

Quote:
the adomdconnection object provides a property called serverversion


"Tony Proctor" <tony_proctor (AT) aimtechnology_NoMoreSPAM_ (DOT) com> wrote in
message
news:u5DUoTZIGHA.1876 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
I'm trying to modify an existing component to work correctly with both
2000
and 2005 cubes. However, certain differences mean that I need to know
which
ones I'm talking to. I currently make a single connection using ADOMD
(COM-based). How can I tell which version of Analysis Services I'm
connected
to?

Tony Proctor







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.