问题描述
我要为WSS和MOSS 2007获得相同的版本名称吗?
I am getting same version name for WSS and MOSS 2007?
response = urllib2.urlopen(url)
print response.info().getheader('MicrosoftSharePointTeamServices')
我正在使用上面的python代码通过网站URL获取共享点版本.
I am using the above python code to get the verion of the sharepoint verion using the site URL.
WSS:MicrosoftSharePointTeamServices:12.0.0.4518MOSS:MicrosoftSharePointTeamServices:12.0.0.4518SP2010:MicrosoftSharePointTeamServices:14.0.0.4762
WSS:MicrosoftSharePointTeamServices: 12.0.0.4518MOSS:MicrosoftSharePointTeamServices: 12.0.0.4518SP2010:MicrosoftSharePointTeamServices: 14.0.0.4762
所以我现在很困惑,因为对于MOSS和WSS,它返回相同的版本ID.为什么发生这种情况,如何解决呢?有什么方法
So i am confused now because for MOSS and WSS it return the same version id.Why its happening how to resolve it?Is there any v\way to
推荐答案
两者的版本完全相同. MOSS只是WSS之上的几个额外模块.
The version is exactly the same for both. MOSS is nothing more than a couple of extra modules on top of WSS.
请查看这篇文章,介绍如何从SharePoint代码内部区分MOSS和WSS.
Have a look at this post about how to differentiate between MOSS and WSS from inside SharePoint code.
不确定这是否对您有帮助,因为您想远程查看.您可能需要考虑将简单的Web服务添加到SharePoint实例.或者,尝试请求仅MOSS的网页,然后查看该网页是否存在.
Not sure if this will help you as you want to look remotely. You may want to consider adding a simple web service to your SharePoint instance. Alternatively try requesting a MOSS only web page and see if that exists.
这篇关于我为WSS和MOSS 2007获得了相同的版本名称吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!