/
CMS_UninstallPackageFromUnitById
CMS_UninstallPackageFromUnitById
Description
Uninstalls package from unit
Syntax
CMS_UninstallPackageFromUnit(sID as string) As Boolean
[bool]CMS_UninstallPackageFromUnit -packageid <string>
Parameters
sID (String)
ID of the package (JobId from the JOB table)
Return value
Boolean, TRUE if function completed successfully.
Boolean, TRUE if function completed successfully.
Example
VBScript
If bStatus Then bStatus = CMS_UninstallPackageFromUnitById("126") |
PowerShell
if (CMS_UninstallPackageFromUnitById '126') {
$cs.Job_WriteLog("Uninstall", "Package (126) will be uninstalled")
} |
Related functions
Related content
CMS_UninstallPackageFromUnit
CMS_UninstallPackageFromUnit
More like this
CMS_UninstallPackageFromUnit
CMS_UninstallPackageFromUnit
More like this
CMS_UninstallPackageFromUnit
CMS_UninstallPackageFromUnit
More like this
CMS_UninstallPackageFromUnitById
CMS_UninstallPackageFromUnitById
More like this
CMS_UninstallPackageFromUnit
CMS_UninstallPackageFromUnit
More like this
CMS_RemovePackageFromUnit
CMS_RemovePackageFromUnit
More like this