共用方式為


OfficialFileResult Enumeration

An enumeration which returns the result of the file submission operation against a site object.

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

Syntax

Public Enumeration OfficialFileResult

Dim instance As OfficialFileResult
public enum OfficialFileResult

Members

Member name Description
Success Indicates that a file submission operation was successful.
MoreInformation Indicates that a file submission operation was partially successful. File was missing some metadata required to route the file to the correct list in the target record center site. In this case, the file is held in a special list in the target, until the missing metadata is provided by the submitter.
InvalidConfiguration Indicates that a file submission operation was rejected due to an unknown exception error which occurred during submission. Problem could be caused by network failure, soap exceptions or unavailability of the target record center site
NotFound Indicates that a file submission operation was cancelled because the target record center site could not be found. Commonly happens when the submitter did not have rights to submit the file to the target record center. Ensure that the pool account of the application submitter is added to the "Records Center Web Service Submitters" group on the target site.
FileRejected Indicates that a file submission operation was rejected due to exceeding the filesize limit of 50 megabytes.
FileCheckedOut Indicates that a file submission operation was rejected because the file was not checked in to Windows SharePoint Services. Only a checked-in version can be submitted to the record center.
UnknownError Indicates that an unknown error caused a file submission operation to fail, possibly due to undetermined network errors, or a failure on the client.

See Also

Reference

Microsoft.SharePoint Namespace