SPCopyErrorCode enumeration
Collapse the table of content
Expand the table of content

SPCopyErrorCode enumeration

Specifies copy-specific error codes.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPCopyErrorCode

Member nameDescription
SuccessThe copy operation has completed without errors.
UnknownAn unknown error has occurred.
SourceAndTargetSameThe target file is being overwritten.
TargetCheckedOutThe target file is checked out and cannot be overwritten.
TargetDoesNotExistThe target folder does not exist.
SourceDoesNotExistThe source file does not exist.
© 2016 Microsoft