Search Results for

    Show / Hide Table of Contents

    Class MoveCopyOptions

    Options for move and copy operations

    Inheritance
    System.Object
    MoveCopyOptions
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class MoveCopyOptions : object

    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.

    Declaration
    public bool KeepBoth { get; set; }
    Property Value
    System.Boolean

    ResetAuthorAndCreatedOnCopy

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

    Declaration
    public bool ResetAuthorAndCreatedOnCopy { get; set; }
    Property Value
    System.Boolean

    RetainEditorAndModifiedOnMove

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

    Declaration
    public bool RetainEditorAndModifiedOnMove { get; set; }
    Property Value
    System.Boolean

    ShouldBypassSharedLocks

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

    Declaration
    public bool ShouldBypassSharedLocks { get; set; }
    Property Value
    System.Boolean

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer