Search Results for

    Show / Hide Table of Contents

    Class MoveCopyOptions

    Options for move and copy operations

    Inheritance
    object
    MoveCopyOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class MoveCopyOptions

    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
    bool

    ResetAuthorAndCreatedOnCopy

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

    Declaration
    public bool ResetAuthorAndCreatedOnCopy { get; set; }
    Property Value
    bool

    RetainEditorAndModifiedOnMove

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

    Declaration
    public bool RetainEditorAndModifiedOnMove { get; set; }
    Property Value
    bool

    ShouldBypassSharedLocks

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

    Declaration
    public bool ShouldBypassSharedLocks { get; set; }
    Property Value
    bool

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