IMetabaseUpdate.Properties

Syntax

Properties: IMetabaseUpdateProperties;

Description

The property is read-only.

The Properties property returns collection of update flags.

Example

Executing the example requires the update file C:\Update.pef.

Sub UserProc;
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
    Properties: IMetabaseUpdateProperties;
    Prop: IMetabaseUpdateProperty;
Begin
    MB := MetabaseClass.Active;
    Update := MB.CreateUpdate;
    Update.LoadFromFile(
"c:\Update.pef");
    Properties := Update.Properties;
    Prop := Properties.Add;
    Prop.Name := 
"Flag";
    Prop.Id := 
"FLAG";
    Prop.DataType := DbDataType.Integer;
    Prop.Value := 
1;
    Update.SaveToFileNF(
"C:\Update.pefx");
End Sub UserProc;

After executing the example a flag of integer type with the "1" value by default is added to the update, loaded from the C:\Update.pefx. Then the update is saved.

See also:

IMetabaseUpdate