IMetabaseDefinition.CompileAssemblyOnly

Syntax

CompileAssemblyOnly: Boolean;

Description

The CompileAssemblyOnly property determines whether compilation of forms/modules is possible beyond assemblies.

Comments

If the property is set to True, compilation of forms/modules beyond assemblies is not allowed.

According to a value of this property the flag "To disable compiling of modules and forms beyond assemblies" is displayed at the Repository Settings page.

Example

Executing the example requires the description with the Test identifier, registered in repository manager.

Sub UserProc;
Var
    MB: IMetabase;
    MAN: IMetabaseManager;
    Def: IMetabaseDefinition;
Begin
    MB := MetabaseClass.Active;
    MAN := MB.Definition.Manager;
    Def := MAN.Definitions.FindById("Test");
    Def.CompileAssemblyOnly := True;
    Def.Save;
End Sub UserProc;

After executing the example the specified repository connection settings are changed. After connecting to this repository, compiling of forms/modules beyond assemblies is disabled when working in this repository.

See also:

IMetabaseDefinition | IMetabase.CompileAssemblyOnly