OfficialFileCore.SubmitFile Method (SPWeb, Byte[], RecordsRepositoryProperty , String, String, String)
Bypasses the holding zone when submitting a file to the official file repository.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function SubmitFile ( _
web As SPWeb, _
fileToSubmit As Byte(), _
properties As RecordsRepositoryProperty(), _
recordSeries As String, _
sourceUrl As String, _
<OutAttribute> ByRef strResultInfo As String _
) As OfficialFileResult
'Usage
Dim web As SPWeb
Dim fileToSubmit As Byte()
Dim properties As RecordsRepositoryProperty()
Dim recordSeries As String
Dim sourceUrl As String
Dim strResultInfo As String
Dim returnValue As OfficialFileResult
returnValue = OfficialFileCore.SubmitFile(web, _
fileToSubmit, properties, recordSeries, _
sourceUrl, strResultInfo)
public static OfficialFileResult SubmitFile(
SPWeb web,
byte[] fileToSubmit,
RecordsRepositoryProperty[] properties,
string recordSeries,
string sourceUrl,
out string strResultInfo
)
Parameters
- web
Type: Microsoft.SharePoint.SPWeb
- fileToSubmit
Type: []
- properties
Type: []
- recordSeries
Type: System.String
- sourceUrl
Type: System.String
- strResultInfo
Type: System.String
Return Value
Type: Microsoft.SharePoint.OfficialFileResult
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace