我得到的 WSS 和 MOSS 2007 版本名称相同吗?
我得到的 WSS 和 MOSS 2007 版本名称相同吗?
response = urllib2.urlopen(url)
print response.info().getheader('MicrosoftSharePointTeamServices')
我正在使用上面的 python 代码通过站点 URL 获取共享点版本的版本。
WSS:MicrosoftSharePointTeamServices:12.0.0.4518 MOSS:MicrosoftSharePointTeamServices:12.0.0.4518 SP2010:MicrosoftSharePointTeamServices:14.0.0.4762
所以我现在很困惑,因为对于 MOSS 和 WSS 它返回相同的版本 ID。为什么会发生如何解决它? 有什么办法吗
I am getting same version name for WSS and MOSS 2007?
response = urllib2.urlopen(url)
print response.info().getheader('MicrosoftSharePointTeamServices')
I am using the above python code to get the verion of the sharepoint verion using the site URL.
WSS:MicrosoftSharePointTeamServices: 12.0.0.4518
MOSS:MicrosoftSharePointTeamServices: 12.0.0.4518
SP2010:MicrosoftSharePointTeamServices: 14.0.0.4762
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
两者的版本完全相同。 MOSS 只不过是 WSS 之上的几个额外模块。
看看这篇文章< /a> 了解如何从 SharePoint 代码内部区分 MOSS 和 WSS。
不确定这是否对您有帮助,因为您想远程查看。您可能需要考虑向 SharePoint 实例添加一个简单的 Web 服务。或者尝试请求仅 MOSS 的网页,看看是否存在。
The version is exactly the same for both. MOSS is nothing more than a couple of extra modules on top of WSS.
Have a look at this post about how to differentiate between MOSS and WSS from inside SharePoint code.
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.