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

« Previous Version 5 Current »

Description

Checks if a given package has an active schedule

Syntax

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

(blue star) Not supported

Properties

sPackage (String)

Name of the package

sVersion (String)

Version of the package

Return value

(blue star) Boolean, TRUE if function completed successfully. The result will be stored in gbValue. If the package is not found function will return false

Example

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

Scripting Guidelines

Related functions


  • No labels