使用 WebService 访问 SharePoint Server 上的所有 SiteCollections [英] Accessing all SiteCollections on a SharePoint Server with WebService

查看:17
本文介绍了使用 WebService 访问 SharePoint Server 上的所有 SiteCollections的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一点挑战.仅知道共享点安装的基本 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 网络服务或 SiteData 网络服务,我已经能够获取有关位于基本 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 服务不提供该功能.唯一可行的选择是使用搜索网络服务(我对它不够熟悉,不知道).

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆