IMetabaseUpdate.MandatoryAccess

Syntax

MandatoryAccess: IMetabaseUpdateMandatoryAccess;

Description

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

Example

Executing the example requires the C:\Update.pefx update file.

Add a link to the Metabase system assembly.

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 console window will display information about the availability of the update.

See also:

IMetabaseUpdate