CompileAssemblyOnly: Boolean;
The CompileAssemblyOnly property determines whether compilation of forms/modules is possible beyond assemblies.
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.
Executing the example requires the description with the Test identifier, registered in repository manager.
Sub Main
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 Main
After executing the example settings of connecting to the repository, that the Test description contains, are changed. After connecting to this repository, compiling of forms/modules beyond assemblies is disabled when working in this repository.
See also: