dbTalk Databases Forums  

Querying server for locale/LCID

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


Discuss Querying server for locale/LCID in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
cstolte@graphics.stanford.edu
 
Posts: n/a

Default Querying server for locale/LCID - 02-16-2005 , 09:36 PM






Subject: Retrieving Analysis Services LCID?

I'm writing a C++ OLE application and I need to retrieve the LCID
(locale identifier) for an Analysis Services cube.

I've looked at the MSDN docs for DBPROP_INIT_LCID
--http://tinyurl.com/6e3as -- but it's not quite the right thing. The
problem is this property tells the server what LCID the client is
using, and I really need to ask the server what LCID is appropriate for
the cube. If I query DBPROP_INIT_LCID without having set the value it
is reported back as VT_EMPTY, and if I query the property after setting
the value I'm just given back the value I've set!

Does anybody know how I can simply ask what the LCID is for the cube?

Any help greatly appreciated.


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.