IMetabaseUpdate.MandatoryAccess

Fore Syntax

MandatoryAccess: IMetabaseUpdateMandatoryAccess;

Fore.NET Syntax

MandatoryAccess: Prognoz.Platform.Interop.Metabase.IMetabaseUpdateMandatoryAccess;

Description

The MandatoryAccess property determines parameters of the mandatory access to the update.

Fore Example

To execute the example, add a link to the Metabase system assembly.  The C:\Update.pefx update file is required.

Sub UserProc;
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
Begin
    MB := MetabaseClass.Active;
    Update := Mb.CreateUpdate;
    Update.LoadFromFileNF("D:\Update.pefx");
    debug.WriteLine(Update.MandatoryAccess.IsValid);
End Sub UserProc;

After executing the example the information about the availability of the update appears in the console window.

Fore.NET Example

To execute the example, add a link to the Metabase system assembly.  The C:\Update.pefx update file is required.

Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
Begin
    MB:= Params.Metabase;
    Update := Mb.CreateUpdate();
    Update.LoadFromFileNF("D:\""Update.pefx", UpdateLoadMode.ulmReplace);
    System.Diagnostics.Debug.WriteLine(Update.MandatoryAccess.IsValid);
End Sub

After executing the example the information about the availability of the update appears in the console window.

See also:

IMetabaseUpdate