使用WebService访问SharePoint Server上的所有SiteCollections [英] Accessing all SiteCollections on a SharePoint Server with WebService
问题描述
我有点挑战.仅知道SharePoint安装的基本URL,我是否可以获得仅使用安装的基本Web服务创建的网站集的列表?
I have a bit of challenge. Knowing only the basic URL for the sharepoint installation, can I get a list of the site collections that have been created using only the basic web services that are installed?
使用Webs Web服务或SiteData Web服务,我已经能够获取有关默认网站集(位于基本URL上)的信息( http://MySharePointServer/).我还可以获得网站集下方的网站的完整列表,以及网站集本身的描述,但似乎无法在同一Web应用程序下获得有关其他网站集的任何信息.
Using the Webs web service or the SiteData web service I've been able to get information on the default site collection that's at the base URL (http://MySharePointServer/). I can also get a full list of sites below the site collection and a description of the site collection itself but I can't seem to get any info on the other site collections under the same web application.
任何帮助将不胜感激,我认为获取信息将是小菜一碟.
Any help would be appreciated, I thought it would be a piece of cake to get the info.
推荐答案
不幸的是,没有.开箱即用的Web服务无法使用该功能.唯一可行的选择是使用Search Web Service(我对它还不了解).
Unfortunately, no. That functionality isn't available from the out-of-the-box web services. The only option that might work is using the Search Web Service (I'm not familiar enough with it to know).
本演练介绍了如何添加自己的自定义Web服务产品.我强烈建议您使用这种方法,因为很有可能您将需要添加其他缺少的功能-如果不是现在,那么在不久的将来.
This walkthrough describes how to add your own custom web services to the product. I strongly recommend this approach as it's very likely there will be other missing functionality you will need to add - if not now, in the near future.
这篇关于使用WebService访问SharePoint Server上的所有SiteCollections的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!