Edit

Share via


_Document.CheckIn(Boolean, Object, Boolean) Method

Definition

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

public void CheckIn (bool SaveChanges = false, ref object Comments, bool MakePublic = false);
abstract member CheckIn : bool * obj * bool -> unit
Public Sub CheckIn (Optional SaveChanges As Boolean = false, Optional ByRef Comments As Object, Optional MakePublic As Boolean = false)

Parameters

SaveChanges
Boolean

Optional Boolean. True saves the document to the server location. The default is True.

Comments
Object

Optional Object. Comments for the revision of the document being checked in (only applies if SaveChanges equals True).

MakePublic
Boolean

Optional Boolean. True allows the user to perform a publish on the document after being checked in. This 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 equals True).

Remarks

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

Applies to