OfficialFileResult enumeration

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

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

Syntax

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

Members

Member name Description
Success Indicates that a file versioning operation was successful.
MoreInformation Indicates 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.
InvalidConfiguration Indicates that a file versioning operation was rejected due to an unknown exception error which occurred during execution.
NotFound Indicates that a file versioning operation was canceled due to a missing target file.
FileRejected Indicates that a file versioning operation was rejected due to exceeding the file size limit of 50 megabytes (MB).
FileCheckedOut Indicates 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.
UnknownError Indicates that an unknown error caused a file versioning operation to fail, possibly due to undetermined network errors, or a failure on the client.
InvalidArgument Indicates that a file versioning operation failed due to an invalid argument.
InvalidRouterConfiguration Indicates 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.
InvalidUser Indicates that a file versioning operation failed due to an invalid user.
FileMoveFailed Indicates that a file move operation failed due to an exception which occurred during execution.
FileDeleteAccessDenied Indicates that a file versioning operation failed due to an “access denied” exception which occurred during execution.
ReplaceLinkFailed Indicates that a file move and link operation failed due to an exception which occurred during execution.
RepositoryNotFound Indicates that a file versioning operation failed due to a missing submission location configured for the web application.
FileExists Indicates that a file versioning operation was canceled due to the file being already present at the location.

See also

Reference

Microsoft.SharePoint namespace