Skip to content

CMS_IncrementSessionID

This will inform the system to increment SessionID after a forced reboot. This will make sure packages scheduled as Always will run again even though they have already run this session. The SessionID is incremented the next time the agent runs.

CMS_IncrementSessionID() as Boolean

Not Supported

Boolean, TRUE if function completed successfully.

If bStatus Then bStatus = Job_RebootWS("Reboot requested")
If bStatus Then bStatus = CMS_IncrementSessionID()

Scripting Guidelines

CMS Functions Constants Package Property Variables Business Unit support