Apply([Progress: IMetabaseUpdateProgress = Null]);
Progress. Object that implements events occurring on update.
The Apply method updates repository objects.
The Progress parameter is optional for Fore and by default is set to Null.
Executing the example requires the C:\Update.pef update file.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Update: IMetabaseUpdate;
Begin
MB := MetabaseClass.Active;
Update := Mb.CreateUpdate;
Update.LoadFromFile("C:\Update.pef");
Update.Apply;
End Sub UserProc;
After executing the example the repository objects are updated using the update loaded from the C:\Update.pef file.
See also: