UndoCheckOutEx(Objects: IMetabaseObjectDescriptors; Var ResId: Integer): Boolean;
UndoCheckOutEx(Objects: Prognoz.Platform.Interop.Metabase.IMetabaseObjectDescriptors; Var ResId: uinteger): boolean;
Objects. The objects which changes need canceling.
ResId. The variable, into which an error code is stored.
The UndoCheckOutEx method cancels the changes and returns the previous version of objects.
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: