Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经激活了 Document ID 服务,并且能够使用此处找到的示例将文件上传到 Sharepoint 库:
http://www.hoffsays.com/2012/05/02/upload-a-file-to-sharepoint-2010-using-c-and-the-sharepoint-web-service/
但我不确定如何以编程方式返回 C# 中新上传文档的文档 ID。请问有谁能在这方面帮助我吗?
您可以使用SiteData.GetURLSegments方法。
来自Sharepoint StackExchange,在这里。