Table of Contents

Class MoveCopyOptions

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Options for move and copy operations

public class MoveCopyOptions
Inheritance
MoveCopyOptions
Inherited Members

Properties

KeepBoth

Indicates whether both resources should be kept if a resource already exists at the specified destination. If set to true then when the target file exists then a new file with a number suffix will added.

public bool KeepBoth { get; set; }

Property Value

bool

ResetAuthorAndCreatedOnCopy

Indicates whether to reset author and creation datetime on the copied resource.

public bool ResetAuthorAndCreatedOnCopy { get; set; }

Property Value

bool

RetainEditorAndModifiedOnMove

Indicates whether to retain the editor and last modified datatime on the moved resource.

public bool RetainEditorAndModifiedOnMove { get; set; }

Property Value

bool

ShouldBypassSharedLocks

Indicates whether the shared locks on the source resource should be by passed.

public bool ShouldBypassSharedLocks { get; set; }

Property Value

bool