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.