IPublishingTargetRepublishAssets Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxvoid 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 IAssetItem
-
The Asset to publish, or the
Parent Folder that holds the Assets
to be published.
- incremental Boolean (Optional)
- Whether to perform incremental publish or full publish, default incremental
- replicate Boolean (Optional)
- Whether to perform replication after publishing, default to replicate
- selectedDependencies IEnumerableIDependencyNode (Optional)
[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