OpenDocuments.CheckinDocument Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Checks in the specified document to a library.

expression.CheckinDocument(bstrDocumentLocation As String, CheckinType As Long, CheckinComment As String, bKeepCheckout As Boolean)

Parameters

expression

An expression that returns an OpenDocuments Control object.

bstrDocumentLocation

A string that contains the URL of the document to check in.

CheckinType

A Long that specifies the type of check-in, where 0 = minor check-in, 1 = major check-in, and 2 = overwrite check-in.

CheckinComment

A string that contains a comment for checking in the document.

bKeepCheckout

Optional. true to check in changes that have been made to the document yet keep the document checked out; otherwise, false. The default value is false.

Return Value

true if the document is successfully checked in; otherwise, false.