Undo Method

Reverse the application of a patch package, restoring files that have been removed or updated.

Syntax

object.Undo [undofile]

The Undo method syntax has the following parts:

Part Description
object An object expression that evaluates to a Package object.
undofile A string which specifies the name of the reverse package file (the undo file) created during the package application process. This parameter is optional.

Remarks

If no file name is specified, the last package application is reversed. If the package was previously applied by the control, this method will return an error.

See Also

Apply Method