我有以下场景:
在.NET (v3.5,c#)中,我使用Microsoft.AnalysisServices命名空间和对象连接到OLAP Cube,以便直接管理维度、度量、属性等的转换。
更新属性标题转换的示例代码如下所示:
foreach (DimensionAttribute dimAttribute in dimension.Attributes)
{
dimAttribute.Translations.Add(1043, "Some caption") //language code
}然而,上面的代码抛出了一个"InvalidOperationException“--”项目类型翻译无效“
有什么想法吗?
提前感谢
发布于 2011-01-18 13:49:05
不相干的..。抛出异常的代码在别处
https://stackoverflow.com/questions/3985884
复制相似问题