IAssetManagerRemoveAsset Method
|
Removes a single
Asset by ID.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxbool RemoveAsset(
string assetId,
bool permenant = false
)
Function RemoveAsset (
assetId As String,
Optional permenant As Boolean = false
) As Boolean
bool RemoveAsset(
String^ assetId,
bool permenant = false
)
abstract RemoveAsset :
assetId : string *
?permenant : bool
(* Defaults:
let _permenant = defaultArg permenant false
*)
-> bool Parameters
- assetId String
- ID of the Asset to remove.
- permenant Boolean (Optional)
- If true, completely removes the Asset from the CMS. Otherwise, asset is placed in the Asset Recycle Folder.
Return Value
BooleanTrue if
Asset exists, false otherwise.
Remarks
See Also