我们之前提到,如果在ADOMD.NET里面的话,它的ConnectionString有一个属性叫LocaleIdentifier,这是指定语言的。

那么如果我们是通过HTTP的方式来访问SSAS的话,该怎麽办呢

其实道理也是差不多的,可以通过在消息包中指定下面的信息即可

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

<Header>

<BeginSession soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:schemas-microsoft-com:xml-analysis" />

<Version Sequence="2" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine/2" /><NamespaceCompatibility xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla" mustUnderstand="0"/></Header>

<Body>

<Execute xmlns="urn:schemas-microsoft-com:xml-analysis">

<Command>

<Statement />

</Command>

<Properties>

<PropertyList>

<LocaleIdentifier>2052</LocaleIdentifier>

<DataSourceInfo />

</PropertyList>

</Properties>

</Execute>

</Body>

</Envelope>

本文由作者:陈希章 于 2009/6/27 10:09:25 发布在:http://www.cnblogs.com/chenxizhang/
本文版权归作者所有,可以转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
更多博客文章,以及作者对于博客引用方面的完整声明以及合作方面的政策,请参考以下站点:陈希章的博客中心

相关文章:

  • 2021-06-14
  • 2021-06-14
  • 2022-01-16
  • 2022-12-23
  • 2021-06-30
  • 2021-07-11
  • 2022-01-03
  • 2021-05-27
猜你喜欢
  • 2021-09-15
  • 2021-11-14
  • 2021-12-18
  • 2021-07-26
  • 2021-10-10
  • 2021-12-28
相关资源
相似解决方案