IMetabaseUpdate.Description

Syntax

Description: String;

Description

The Description property determines the accompanying text that is displayed in the update installation wizard before setting.

Example

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

Sub UserProc;

Var

MB: IMetabase;

MBDesc: IMetabaseObjectDescriptor;

MUpdate: IMetabaseUpdate;

ObjNode: IMetabaseUpdateDataObjectNode;

Begin

MB := MetabaseClass.Active;

MBDesc := MB.ItemById("Table_1");

MUpdate := MB.CreateUpdate;

MUpdate.Description := "The table is 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 the update, for which the accompanying text is assigned, is created. The update contains the table, which data is only added by new records.

See also:

IMetabaseUpdate