Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(blue star) [bool]CMS_UninstallPackageFromUnit -packageid <string>

Parameters

sID (String)

ID of the package (JobId from the JOB table)

Return value

(blue star) Boolean, TRUE if function completed successfully.

...

Example

(blue star) VBScript
Code Block
languagevbnet
If bStatus Then bStatus = CMS_UninstallPackageFromUnitById("126")
(blue star) PowerShell
Code Block
languagepowershell
if (CMS_UninstallPackageFromUnitById '126') {
  $cs.Job_WriteLog("Uninstall", "Package (126) will be uninstalled")
}

Scripting Guidelines

Related functions

CMS_UninstallPackageFromUnit https://capasystems.atlassian.net/wiki/spaces/CI66DOC/pages/19610726993