IMetabaseUpdate.BoundType

Syntax

BoundType: MetabaseObjectUpdateBoundType;

Description

The BoundType property determines a type of repository objects updating.

Comments

The assigned value is used for all the objects, which update type is not placed explicitly, that is, IMetabaseUpdateObjectNode.BoundType = MetabaseObjectUpdateBoundType.Inherit.

BoundType and IMetabaseUpdate.Constraint should be used instead of the IMetabaseUpdate.UpdateType property.

Example

Executing the example requires the update file C:\Update.pef. It is also necessary to 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.Constraint := MetabaseObjectUpdateConstraint.CreateOnly;
        Update.BoundType := MetabaseObjectUpdateBoundType.ById;
        Update.SaveToFileNF("C:\Update.pefx");
    End Sub UserProc;

After executing the example the following parameters are set for the update, loaded from the C:\Update.pef file:

Then the update is saved.

See also:

IMetabaseUpdate