Publishes the page, with or without its descendants, to the specified
Publishing Target.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxvoid 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 IPublishingTarget
- Publishing target to publish to; this value is required.
- recursive Boolean
- Publish the page itself or with its descendants
- incremental Boolean
- Incremental or full publish
RemarksIf 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 Published is fired when the publish task finishes.
See Also