简体   繁体   English

使用ADOMD.Net从SSAS获得翻译

[英]Get translations from SSAS with ADOMD.Net

What's the best way to read metadata (including translations) from the SSAS? 从SSAS读取元数据(包括翻译)的最佳方法是什么?
So far, ADOMD.Net came in quite handy but I cannot find a way to access translations. 到目前为止,ADOMD.Net派上了用场,但我找不到访问翻译的方法。

I need to populate the metadata for a custom cube browser and cannot rely on SSAS to do the translations for me. 我需要为自定义多维数据集浏览器填充元数据,并且不能依靠SSAS为我进行翻译。 Due to restrictions from our customers, the client application does not have direct access to the SSAS server but rather passes the MDX-queries through a linked sql server. 由于客户的限制,客户端应用程序无法直接访问SSAS服务器,而是通过链接的sql服务器传递MDX查询。 Thereby SSAS is not able to determine the client machine's culture settings. 因此,SSAS无法确定客户端计算机的区域性设置。 This is why I would like to persist all metadata to an accessible database by using an SSAS Extension. 这就是为什么我想通过使用SSAS扩展将所有元数据保存到可访问的数据库中的原因。

Long story short: How can I access translations which reside in SSAS by using C#? 长话短说:如何使用C#访问驻留在SSAS中的翻译?

that's a strange requirement, I don't know how it can be done, but can you explain why do you go through all this trouble to access your cube? 这是一个奇怪的要求,我不知道该怎么做,但是您能解释一下为什么要经历所有这些麻烦才能访问多维数据集吗? I can only imagine it has something to do with security. 我只能想象它与安全性有关。 If so, I can advise you to look at this link that expains how to Configure HTTP Access to Analysis Services. 如果是这样,我建议您查看链接, 链接详细说明了如何配置对Analysis Services的HTTP访问。 The link is flagged on SQL 2012 but it works even on 2005 (I've done it) 该链接在SQL 2012上已标记,但即使在2005年也可以使用(我已经完成了)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM