CheckIn Method

As it applies to the Application object.

Checks in a Windows SharePoint Services object.

Syntax

expression.CheckIn(fSaveChanges, Comments, fMakePublic)

*expression   * Required. An expression that returns an Application object.

fSaveChanges    Optional Boolean. True saves changes and checks in the document. False returns the document to a checked-in status without saving revision.

Comments    Optional Variant. Allows the user to enter check-in comments for the revision of the project being checked in (applies only if SaveChanges equals True).

fMakePublic    Optional Boolean. True allows the user to publish the project after it has been checked in. This submits the project for the approval process, which can eventually result in a version of the project being published to users with read-only rights to the project (applies only if SaveChanges equals True).

As it applies to the Project object.

Returns the working copy of the project from a local computer to the Windows SharePoint Services server, and sets the local project to read-only so that it cannot be edited locally. Calling this method will also close the project.

Syntax

expression.CheckIn(SaveChanges, Comment, MakePublic)

*expression   * Required. An expression that returns a Project object.

SaveChanges    Optional Boolean. True saves changes and checks in the document. False returns the document to a checked-in status without saving revisions.

Comment    Optional Variant. Allows the user to enter check-in comments for the revision of the project being checked in (applies only if SaveChanges equals True).

MakePublic    Optional Boolean. True allows the user to publish the project after it has been checked in. This submits the project for the approval process, which can eventually result in a version of the project being published to users with read-only rights to the project (applies only if SaveChanges equals True).

Applies to | Application Object | Project Object, Projects Collection Object

See Also | CanCheckIn Property | CanCheckOut Method | CheckOut Method | DocumentLibraryVersions Property | DocumentLibraryVersionsDialog Method