Description

This event is sent before the shutdown procedure starts.

Syntax

Private Sub object_BeforeShutdown(Cancel)

The BeforeShutdown Event syntax has these parts:

PartDescription
objectA McApplication object.
CancelA Boolean value.

VARIANT_BOOL : Set to TRUE to cancel the shutdown procedure.

Remarks

This is the time when clients can cancel the shutdown process.