IMetabase.UndoCheckOutEx

Syntax

UndoCheckOutEx(Objects: IMetabaseObjectDescriptors; Var ResId: Integer): Boolean;

Parameters

Objects. The objects which changes need canceling.

ResId. The variable, into which an error code is stored.

Description

The UndoCheckOutEx method cancels the changes and returns the previous version of objects.

Comments

This method is relevant to use, if objects are added to the versions control system.

When calling the method a dialog box of canceling objects changes opens. The method returns the True value, in case of successful canceling and returning to the previous versions of objects. The error code is 0 in this case.

If the changes undo failed, the method returns False. An error code is stored in the ResId parameter.

See also:

IMetabase