IMetabaseUpdate.UseLocalVcsFiles

Syntax

UseLocalVcsFiles: Boolean;

Description

The UseLocalVcsFiles property determines whether local versions of the objects added to version control system are used in update.

Comments

This property is relevant if the objects added to version control system are used in update.

Available values:

Example

Executing the example requires that the repository contains a form with the FORM_1 identifier. This form is added to the version control system.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
    Root: IMetabaseUpdateFolderNode;
    FormObj: IMetabaseUpdateObjectNode;
Begin
    MB := MetabaseClass.Active;
    Update := MB.CreateUpdate;
    Update.UseLocalVcsFiles := False;
    Root := Update.RootFolder;
    FormObj := Root.Add(MetabaseUpdateNodeType.Object) As IMetabaseUpdateObjectNode;
    FormObj.Object := MB.ItemById("Form_1");
    FormObj.Label := FormObj.Object.Name;
    Update.SaveToFileNF("c:\Form_1.pefx");
End Sub UserProc;

After executing the example a new update is created. The form version saved in files of the version control system at the moment is added to the update.

See also:

IMetabaseUpdate