简体   繁体   English

SharePoint :是否保证对文件夹和文档集的编程复制/移动操作是原子的?

[英]SharePoint : are programmatic copy/move operations on folders and document sets guaranteed to be atomic?

Just wondering if programmatic operations in SharePoint that allow moving or copying folders (and their content) and document sets (and their content) are guaranteed to be atomic, so they fail or succeed as a whole ?只是想知道 SharePoint 中允许移动或复制文件夹(及其内容)和文档集(及其内容)的编程操作是否保证是原子的,因此它们作为一个整体失败或成功?

Examples of calls are SPFolder.Copy , DocumentSet.Import , SP.MoveCopyUtil , CreateCopyJobs , etc调用的示例是SPFolder.CopyDocumentSet.ImportSP.MoveCopyUtilCreateCopyJobs

我认为是这样,他们应该是有气氛的,所以他们作为一个整体失败或成功。

检查了代码,例如文件夹的复制实际上是在循环中完成的,并带有一些清理逻辑,以防万一失败,这可能会导致自身失败而留下脏东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在SharePoint 2010中复制或移动文档库 - Copy or move a document library in SharePoint 2010 SharePoint 在线 - 移动文档库内容(文件和文件夹) - SharePoint Online - Move document library contents (files and folders) Kentico Sharepoint连接器:支持Sharepoint文档集 - Kentico Sharepoint Connector: Support of Sharepoint document sets SharePoint文档集上的默认文件夹 - Default folders on SharePoint Document Set 如何在SharePoint中的站点和文档库之间移动文件夹和文件并维护其版本历史记录? - How can one move folders and files across sites and document libraries in SharePoint and maintain their version histories? 共享点-复制或添加文档时增加元数据,但移动时不增加 - Sharepoint--Increment the metadata when document is copy or added, but dont increment when move SharePoint:以编程方式在文档库之间移动文档 - SharePoint: programmatically move documents between document libraries 如何在Sharepoint中移动/复制讨论区项目? - How to move/copy a discussion board item in Sharepoint? Sharepoint 2007:将文档库移动到其他站点 - Sharepoint 2007: Move a document library to other site 移到SharePoint文档视图列表中的下一行 - Move to Next Row in a SharePoint Document View List
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM