IPageRepublish Method Ingeniux CMS Content Store API

Publishes the page, with or without its descendants, to the specified Publishing Target.

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

void Republish(
	IPublishingTarget pubTarget,
	bool recursive,
	bool incremental
)

Parameters

pubTarget
Type: Ingeniux.CMSIPublishingTarget
Publishing target to publish to; this value is required.
recursive
Type: SystemBoolean
Publish the page itself or with its descendants
incremental
Type: SystemBoolean
Incremental or full publish
Remarks

If pubTarget is null, an error is thrown.

If the current user doesn't have the permissions to perform publishes, an error is thrown.

If the current user doesn't have access to the given publishing target, an error is thrown.

If the publish is incremental and current user doesn't have permission to perform incremental publishes, an error is thrown.

If the page is under the given publishing target, no action is taken.

For incremental publishes, only the pages that were updated since the last publish will be published.

Before the publish task is submitted, the event BeforePublish is fired. The event AfterPublish is fired when the publish task finishes.

See Also

Reference