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.
我正在使用 SharePoint 应用程序页面进行有效搜索。这里我使用几个文本框来获取用户的输入。基于输入我编写了对象模型代码以从 SharePoint 列表中获取数据。当搜索项目低于 500 项时它工作正常(几秒)。但是页面没有响应长时间运行的过程。
对于长时间的操作,您可以使用 SPLongOperation 类来帮助您。
请参阅:http ://sharepointzen.wordpress.com/2012/09/30/using-splongoperation-for-synchronous-long-running-tasks-in-sharepoint/