CMS_RemovePackageFromUnit

Description

Removes package from the unit

Syntax

CMS_RemovePackageFromUnit(sPackage, sVersion) As Boolean


Parameters

sPackage (String)

Package name

sVersion (String)

Package version


Example

VBScript
If bStatus Then bStatus = CMS_ExistPackageOnManagementServer("CapaInstaller", "v1.0", False)
If bStatus And gbValue Then
  If bStatus Then bStatus = CMS_RemovePackageFromUnit("CapaInstaller", "v1.0")
End If

Scripting Guidelines


Related functions

CMS_AddPackageToUnit