Versions Compared

Key

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

...

Checks if a given package has an active schedule


Syntax

(blue star) CMS_IsPackageScheduleEnabled(sPackage, sVersion) As Boolean

...

Properties

sPackage (String)

Name of the package

sVersion (String)

Version of the package


Return value

Result will be stored in gbValue. If package is not found function will return false


Example

(blue star) VBScript
Code Block
languagevb
themeEclipse
titleVBScript
If bStatus Then xStatus = CMS_IsPackageScheduleEnabled("CapaInstaller", "v1.0")
If bStatus Then
  xStatus = Job_WriteLog("Custom","gbValue: " & gbValue, bStatus, True)
End If

...