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.6.308
Syntax
void RepublishAssets(
	IAssetItem assetItem,
	bool incremental = true,
	bool replicate = true,
	IEnumerable<IDependencyNode> selectedDependencies = null
)

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 publishing, default to replicate
selectedDependencies (Optional)
Type: System.Collections.GenericIEnumerableIDependencyNode

[Missing <param name="selectedDependencies"/> documentation for "M:Ingeniux.CMS.IPublishingTarget.RepublishAssets(Ingeniux.CMS.IAssetItem,System.Boolean,System.Boolean,System.Collections.Generic.IEnumerable{Ingeniux.CMS.IDependencyNode})"]

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