MandatoryAccess: IMetabaseUpdateMandatoryAccess;
MandatoryAccess: Prognoz.Platform.Interop.Metabase.IMetabaseUpdateMandatoryAccess;
The MandatoryAccess property determines parameters of the mandatory access to the update.
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.
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: