dbTalk Databases Forums  

ADOMD vs. ADOMD.Net. Bug or Feature?

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


Discuss ADOMD vs. ADOMD.Net. Bug or Feature? in the microsoft.public.sqlserver.olap forum.



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

Default ADOMD vs. ADOMD.Net. Bug or Feature? - 12-27-2004 , 08:27 AM






Hello!



I port my old ADOMD code to the ADOMD.NET.

I have detected that AdomdClient.Member.Name has another behavior comparing
with ADOMD.Member.Name.

In the ADOMD Member.Name == Member.UniqueName, but in ADOMD.NET
Member.Name == Member.Cuption.

Who is right? From Programmer's reference I can't answer this question.



I have compared it with the MEMBERS Rowset and Mandatory Member Properties
(OLEDB for Analysis).

Both have the same behavior: MEMBER_NAME == MEMBER_CAPTION.



Therefore ADOMD has not right!?



Thanks,

Vladimir Chtepa



Reply With Quote
  #2  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: ADOMD vs. ADOMD.Net. Bug or Feature? - 12-27-2004 , 01:20 PM






It's a feature. ADOMD.NET emulates MDX closer then ADOMD, and in MDX
<member>.Name returns Name, and <member>.UniqueName returns Unique Name.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Analysis Services blog at http://www.sqljunkies.com/WebLog/mosha
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================

"Vladimir Chtepa" <vc.clean_this (AT) diacom-systemhaus (DOT) clean_this.de> wrote in
message news:%23HECgAC7EHA.1296 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
Hello!



I port my old ADOMD code to the ADOMD.NET.

I have detected that AdomdClient.Member.Name has another behavior
comparing
with ADOMD.Member.Name.

In the ADOMD Member.Name == Member.UniqueName, but in ADOMD.NET
Member.Name == Member.Cuption.

Who is right? From Programmer's reference I can't answer this question.



I have compared it with the MEMBERS Rowset and Mandatory Member Properties
(OLEDB for Analysis).

Both have the same behavior: MEMBER_NAME == MEMBER_CAPTION.



Therefore ADOMD has not right!?



Thanks,

Vladimir Chtepa





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.