IMetabaseUpdateObjectNode.IncludeData

Syntax

IncludeData: Boolean;

Description

The IncludeData property indicates whether the object data is included into update.

Comments

If the property value is True, object data will be included in the update, if the value is False, it won't.

This property is relevant only for tables and MDM dictionaries. In case of changing a value of this property, a value of the IMetabaseUpdateNode.NodeType property is changed from DataObject to Object (True to False) and vice versa (False to True). The default value of this property is True.

Example

Sub UserProc;

Var

Mb: IMetabase;

U: IMetabaseUpdate;

N: IMetabaseUpdateObjectNode;

Begin

Mb := MetabaseClass.Active;

U := Mb.CreateUpdate;

N := U.RootFolder.Add(MetabaseUpdateNodeType.Object) As IMetabaseUpdateObjectNode;

N.Object := Mb.ItemById("TABLE");

N.IncludeData := False;

U.SaveToFileNF("c:\temp\Update1.pefx");

End Sub UserProc;

An update will be created after example execution. Table data is not included in the update.

See also:

MetabaseUpdateNodeType | IMetabaseUpdateObjectNode