Click or drag to resize

IPublishingTargetRepublishAssets Method


Performs publish on an Asset, or descendants of an Asset Folder.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
void RepublishAssets(
	IAssetItem assetItem,
	bool incremental = true,
	bool replicate = true
)

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
ExceptionCondition
InvalidOperationExceptionWhen this Publishing Target is retrieved via a Read-only Session.
SecurityExceptionWhen 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