IPageCheckIn Method Ingeniux CMS Content Store API

Checks in either the page itself or the page and its descendants.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

int CheckIn(
	IEnumerable<IPublishingTarget> pubTargets,
	bool recursive
)

Parameters

pubTargets
Type: System.Collections.GenericIEnumerableIPublishingTarget
Collection of publishing targets toward which to check in this page. These publishing targets mark the page on its latest version. If not specified, no publishing target will change marking on this page.
recursive
Type: SystemBoolean
Specifies whether to also check in the descendants of this page.

Return Value

Type: Int32
Count of pages operated on
Remarks

If the page was already checked in, the operation will continue to check in descendants and mark the page's latest version on provided publishing targets.

The current user must have the permission to check in and check out pages. Otherwise, an error will be thrown.

The current user must have Full Access to this page. Otherwise, an error will be thrown.

If the page is not assigned to the current user and the current user doesn't have to right to check in other user's pages, an error will be thrown.

If the page contains required Elements that don't have values filled in, an error will be thrown.

Two events are fired during execution of this method: BeforePageCheckIn and AfterPageCheckIn.

See Also

Reference