IPublishingTargetRepublishAssets Method
|
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
)
Sub RepublishAssets (
assetItem As IAssetItem,
Optional incremental As Boolean = true,
Optional replicate As Boolean = true,
Optional selectedDependencies As IEnumerable(Of IDependencyNode) = Nothing
)
void RepublishAssets(
IAssetItem^ assetItem,
bool incremental = true,
bool replicate = true,
IEnumerable<IDependencyNode^>^ selectedDependencies = nullptr
)
abstract RepublishAssets :
assetItem : IAssetItem *
?incremental : bool *
?replicate : bool *
?selectedDependencies : IEnumerable<IDependencyNode>
(* Defaults:
let _incremental = defaultArg incremental true
let _replicate = defaultArg replicate true
let _selectedDependencies = defaultArg selectedDependencies null
*)
-> 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 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 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