Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OpenDocuments.CheckinDocument Method

Last modified: July 09, 2008

Applies to: SharePoint Foundation 2010

Checks in the specified document to a library.


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

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.

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

Show:
© 2015 Microsoft