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: 10.6.308
Syntax void Republish(
IPublishingTarget pubTarget,
bool recursive,
bool incremental
)
Sub Republish (
pubTarget As IPublishingTarget,
recursive As Boolean,
incremental As Boolean
)
void Republish(
IPublishingTarget^ pubTarget,
bool recursive,
bool incremental
)
abstract Republish :
pubTarget : IPublishingTarget *
recursive : bool *
incremental : bool -> unit
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