IMetabaseUpdate.Apply

Syntax

Apply([Progress: IMetabaseUpdateProgress = Null]);

Parameters

Progress. Object that implements events occurring on update.

Description

The Apply method updates repository objects.

Comments

The Progress parameter is optional for Fore and by default is set to Null.

Example

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:

IMetabaseUpdate | IMetabaseUpdate.ApplyEx