Copy(Options: MetabaseUpdateCopyType): IMetabaseUpdate;
Options. Type of update copying.
The Copy method copies the update.
The method is called only when the mode of administrator roles separation is activated.
Executing the example requires the C:\Update.pefx update file.
Add a link to the Metabase system assembly.
Sub Main;
Var
MB: IMetabase;
Update: IMetabaseUpdate;
Begin
MB := MetabaseClass.Active;
Update := Mb.CreateUpdate;
Update.LoadFromFileNF("D:\Update.pefx");
Update.Copy(MetabaseUpdateCopyType.AvailableISA);
Update.SaveToFileNF("D:\Update_copy.pefx");
End Sub Main;
After executing the example the file is saved as the file with data that is available only for the information security administrator.
See also: