Apply([Progress: IMetabaseUpdateProgress = Null]);
Progress. Object that implements events occurring on update. Non-mandatory parameter, value by default is Null.
The Apply method updates repository objects.
Executing the example requires the update file C:\Update.pef.
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 update, loaded from the C:\Update.pef file, is executed.
See also: