Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

 

  • No labels