IPublishingTargetRepublishAssets Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax void RepublishAssets(
IAssetItem assetItem,
bool incremental = true,
bool replicate = true
)
Sub RepublishAssets (
assetItem As IAssetItem,
Optional incremental As Boolean = true,
Optional replicate As Boolean = true
)
void RepublishAssets(
IAssetItem^ assetItem,
bool incremental = true,
bool replicate = true
)
abstract RepublishAssets :
assetItem : IAssetItem *
?incremental : bool *
?replicate : bool
(* Defaults:
let _incremental = defaultArg incremental true
let _replicate = defaultArg replicate true
*)
-> unit
Parameters
- assetItem
- Type: Ingeniux.CMSIAssetItem
The Asset to publish, or the
Parent Folder that holds the Assets
to be published.
- incremental (Optional)
- Type: SystemBoolean
Whether to perform incremental publish or full publish, default incremental - replicate (Optional)
- Type: SystemBoolean
Whether to perform replication after publishg, default to replicate
Exceptions Exception | Condition |
---|
InvalidOperationException | When this Publishing Target is retrieved via a Read-only Session. |
SecurityException | When current user doesn't have the permission to perform a publish; when the current user can't access this publishing target; or when performing an incremental publish and the current user doesn't have permision to incrementally publish. |
See Also