Enum SPMigrationNameConflictBehavior Enum for the behavior when a name conflict occurs Namespace: PnP.Core.Model.SharePoint Assembly: PnP.Core.dll Syntax public enum SPMigrationNameConflictBehavior : int Fail Returns an error KeepBoth Keeps both the files (will append a character / number to the filename) Replace Replaces the file if conflict occurs