Cancel Method

Cancel the current operation.

Syntax

object.Cancel

The object is an expression that evaluates to a Package object.

Remarks

Calling this method will cancel the current operation in progress. The Apply or Create method will fail, generating an error which must be trapped by the application.

If there is no current operation, this method is ignored.