dbTalk Databases Forums  

adomd - Why did I do this?

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


Discuss adomd - Why did I do this? in the microsoft.public.sqlserver.olap forum.



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

Default adomd - Why did I do this? - 08-22-2006 , 08:41 AM






My memory is failing. I recently added the line below where I added
the properties, based on some advice I read online. I should have
written in a comment about why I added it, but I can't find it again.
Can anybody tell me what the second line does? And why one would add
it?

AdomdCommand myCommand = new AdomdCommand(MDXQuery, myConnection);
myCommand.Properties.Add("Content", "Data");


Reply With Quote
  #2  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: adomd - Why did I do this? - 08-22-2006 , 01:38 PM






It makes the server only send the data of the result and excludes the XSD
schema. The default is SchemaData which would include both the XSD as well
as the data...

Thanks,
Akshai
--
Try out the MSDN Forums for Analysis Services at:
http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1

This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"cowznofsky" <jhcorey (AT) yahoo (DOT) com> wrote

Quote:
My memory is failing. I recently added the line below where I added
the properties, based on some advice I read online. I should have
written in a comment about why I added it, but I can't find it again.
Can anybody tell me what the second line does? And why one would add
it?

AdomdCommand myCommand = new AdomdCommand(MDXQuery, myConnection);
myCommand.Properties.Add("Content", "Data");




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.