IMetabaseUpdate.Description

Syntax

Description: String;

Description

The Description property determines the accompanying text displayed in the update installation wizard before installation start.

Example

Executing the example requires that the repository contains a table with the TABLE identifier.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    MBDesc: IMetabaseObjectDescriptor;
    MUpdate: IMetabaseUpdate;
    ObjNode: IMetabaseUpdateDataObjectNode;
Begin
    MB := MetabaseClass.Active;
    MBDesc := MB.ItemById("TABLE");
    MUpdate := MB.CreateUpdate;
    MUpdate.Description :="Table will be updated";
    ObjNode := MUpdate.RootFolder.Add(MetabaseUpdateNodeType.DataObject) As IMetabaseUpdateDataObjectNode;
    ObjNode.Label := MBDesc.Id;
    ObjNode.Method := MetabaseUpdateMethod.All;
    ObjNode.Object := MBDesc;
    ObjNode.BatchMode :=ObjectUpdateDataBatchMode.InsertOnly;
    MUpdate.SaveToFileNF("c:\Update.pefx");
End Sub UserProc;

After executing the example, an update is created, for which an accompanying text will be set. The update contains the table, which data is only added by new records.

See also:

IMetabaseUpdate