IMetabaseUpdate.Apply

Syntax

Apply([Progress: IMetabaseUpdateProgress = Null]);

Parameters

Progress. Object that implements events occurring on update. Non-mandatory parameter, value by default is Null.

Description

The Apply method updates repository objects.

Example

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:

IMetabaseUpdate | IMetabaseUpdate.ApplyEx