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
Expand Minimize

Document.CheckIn Method

Puts a document on a server from a local computer, and sets the local document to read-only so that it cannot be edited locally.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

void CheckIn(
	bool SaveChanges,
	ref Object Comments,
	bool MakePublic


Type: System.Boolean

true to save the document to the server location. The default is true.

Type: System.Object

Comments for the revision of the document being checked in (only applies if SaveChanges is set to true).

Type: System.Boolean

true to allow the user to publish the document after it is checked in.

Setting the MakePublic parameter to true submits the document for the approval process, which can eventually result in a version of the document being published to users with read-only rights to the document (only applies if SaveChanges is set to true).

To take advantage of the collaboration features built into Word, documents must be stored on a Microsoft SharePoint Portal Server.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

© 2015 Microsoft