SPCopyErrorCode enumeration

Specifies copy-specific error codes.

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

Syntax

'Declaration
Public Enumeration SPCopyErrorCode
'Usage
Dim instance As SPCopyErrorCode
public enum SPCopyErrorCode

Members

Member name Description
Success The copy operation has completed without errors.
Unknown An unknown error has occurred.
SourceAndTargetSame The target file is being overwritten.
TargetCheckedOut The target file is checked out and cannot be overwritten.
TargetDoesNotExist The target folder does not exist.
SourceDoesNotExist The source file does not exist.

See also

Reference

Microsoft.SharePoint namespace