问题描述
随着Exchange Server 2016的使用一段时间(截至15日),它位于 2016 CU1 ),我想正确检测在每个Exchange Web服务响应消息的SOAP标头中返回的版本:
With Exchange Server 2016 being available for some time (as of 15. March it's at 2016 CU1), I want to properly detect the Version that gets returned in the SOAP header of each Exchange Web Services response message:
<ServerVersionInfo MajorVersion="" MinorVersion="" MajorBuildNumber="" MinorBuildNumber="" Version="" />
例如中提到的最新架构版本"Exchange中的EWS架构版本"页是Exchange2013_SP1
.
The latest schema version mentioned in e.g. the 'EWS schema versions in Exchange' page is Exchange2013_SP1
.
Exchange 2016返回的名称是什么?
我还没有要测试的Exchange Server2016.
Exchange Online(假设它始终是最新的稳定的MS代码,因此应该等同于2016),它当前返回V2016_01_06
.
我怀疑常规" Exchange 2016 Server的答案是Exchange2016
,有人可以确认吗?
I do not yet have an Exchange Server 2016 to test against.
Exchange Online (assuming it's always the latest stable MS code, so should be equivalent to 2016) does not return these 'regular' version names, it currently returns V2016_01_06
.
I suspect the answer for a 'regular' Exchange 2016 Server to be Exchange2016
, can anyone confirm?
推荐答案
我们现在已经安装了Exchange 2016的测试版本,它具有以下行为:
We now have a test version of Exchange 2016 installed and this has the following behaviour:
- 它返回
Version="V2016_04_13"
,所以显然我的猜想是错误的.
Exchange 2016返回一个带有发布日期"的更详细"的版本号,
与Exchange 365一样. - 您可以请求
Exchange2016
或类似V2016_04_13
(如果要遵循2016语法并使用2016功能).
您将必须知道可用的V2016 ...版本,使用不正确的日期将导致The specified server version is invalid.
- It returns
Version="V2016_04_13"
, so obviously my suspicion was wrong.
Exchange 2016 returns a more 'detailed' version number with a 'release date',
as does Exchange 365. - You can request both
Exchange2016
or something likeV2016_04_13
(if you want to follow 2016 syntax and use 2016 features).
You will have to know what V2016... versions are available, using the incorrect date will result inThe specified server version is invalid.
在 David Sterling 的评论中引用. com/a/28050959/512728>此答案于2016年10月7日:
Quoting from a comment by David Sterling under this answer on 7 Oct 2016:
从2016年1月开始,我们开始使用版本的构建日期.我们会每季度修订一次公开架构,因此您会注意到下一个架构版本的添加时间大约为3个月,等等.
基本上,最新"版本是Beta版,可以包含重大更改,直到下一个版本发布为止.介绍.因此,目前,V2016_07_13被认为是Beta版,并且我们仍在对其进行添加.下周发布之后,我们将介绍V2016_10_XX,V2016_07_13将被锁定,并且不会添加任何其他功能.
这篇关于Exchange Server 2016的ServerVersionInfo元素中的Version属性的名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!