IMetabaseObjectDescriptor.UndoCheckOutEx

Syntax

UndoCheckOutEx(Var ResId: Integer): Boolean;

UndoCheckOutEx(Var ResId: uinteger): boolean;

Parameters

ResId. The variable in which the error code will be placed.

Description

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

Comments

It is relevant to use this method if the object was added to the version control system.

The dialog of cancellation of object changes will be opened when the method is activated. The method returns True if the cancellation was successful and return to the previous version of object was done. 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:

IMetabaseObjectDescriptor