Click or drag to resize

DocumentManagerCheckIn Method

Adds new version of document and commits it in document repository

Namespace:  FileHold.LibraryManager
Assembly:  FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.0.0.0
Syntax
C#
public int CheckIn(
	Guid uploadToken,
	DocumentManagerCheckInOptions option,
	string originalFileName,
	string documentName,
	int metadataVersionId,
	bool sendEmailToMembers
)

Parameters

uploadToken
Type: SystemGuid
option
Type: FileHold.LibraryManagerDocumentManagerCheckInOptions
originalFileName
Type: SystemString
original name of the file
documentName
Type: SystemString
metadataVersionId
Type: SystemInt32
id of document's metadata
sendEmailToMembers
Type: SystemBoolean

Return Value

Type: Int32
Remarks
1. Check whether document was changed meanwhile 2. Add new document version in database 3. Copy metadata from previous version 4. Commit file in repository
See Also