SharePoint.Contents

语法

SharePoint.Contents(url as text, optional options as nullable record) as table

关于

返回一个表,该表包含在指定 SharePoint 站点 url 中找到的每个文件夹和文档的行。 每行都包含文件夹或文件的属性,以及指向其内容的链接。 可以指定 options 来控制以下选项:

  • ApiVersion:数字(14 或 15)或文本“自动”,指定要用于此网站的 SharePoint API 版本。 如果未指定,则使用 API 版本 14。 指定“自动”时,如果可能,将自动发现服务器版本,否则版本默认为 14。 非英语 SharePoint 网站至少需要版本 15。

  • Implementation:可选。 指定要使用的 SharePoint 连接器版本。 接受的值是 2.0null。 如果值为 2.0,则使用 SharePoint 连接器的 2.0 实现。 如果值为 null,则使用 SharePoint 连接器的原始实现。