Export (0) Print
Expand All
Expand Minimize

OfficialFileResult enumeration

Returns the result of the file versioning operation against a site object.

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

public enum OfficialFileResult

Member nameDescription
Success Indicates that a file versioning operation was successful.
MoreInformationIndicates that a file versioning operation was canceled and that the client should be redirected to an alternate URL, such as a page displayed to the user who requested the operation because that file is already checked out to another user.
InvalidConfigurationIndicates that a file versioning operation was rejected due to an unknown exception error which occurred during execution.
NotFoundIndicates that a file versioning operation was canceled due to a missing target file.
FileRejectedIndicates that a file versioning operation was rejected due to exceeding the file size limit of 50 megabytes (MB).
FileCheckedOutIndicates that a file submission operation was rejected because the file was not checked in to SharePoint Foundation. Only a checked-in version can be submitted to the record center.
UnknownErrorIndicates that an unknown error caused a file versioning operation to fail, possibly due to undetermined network errors, or a failure on the client.
InvalidArgumentIndicates that a file versioning operation failed due to an invalid argument.
InvalidRouterConfigurationIndicates that a file versioning operation failed due to the target location not being configured as a content organizer or the content organizer not being configured correctly.
InvalidUserIndicates that a file versioning operation failed due to an invalid user.
FileMoveFailedIndicates that a file move operation failed due to an exception which occurred during execution.
FileDeleteAccessDeniedIndicates that a file versioning operation failed due to an “access denied” exception which occurred during execution.
ReplaceLinkFailedIndicates that a file move and link operation failed due to an exception which occurred during execution.
RepositoryNotFoundIndicates that a file versioning operation failed due to a missing submission location configured for the web application.
FileExistsIndicates that a file versioning operation was canceled due to the file being already present at the location.
Show:
© 2014 Microsoft