Remove package from management server
Description
Removes a package from a Management Server.
Syntax
RemovePackageFromManagementServer(Byval PackageName as String, Byval PackageVersion as String, Byval PackageType as String, Byval ServerName as String) as Boolean
Parameters
PackageName (String)
The name of the package
PackageVersion (String)
Package version
PackageType (String)
Type of package
- "1" (Computer)
- "2" (User)
ServerName (String)
Management server name
Return value
Boolean. The function returns true if it succeeds, otherwise false.
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.RemovePackageFromManagementServer("AutoCad 11","v4.0","2","srvcph01")