IMetabaseUpdate.Copy

Syntax

Copy(Options: MetabaseUpdateCopyType): IMetabaseUpdate;

Parameters

Options. Type of update copying.

Description

The Copy method copies the update.

Comments

The method is called only when the mode of administrator roles separation is activated.

Example

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:

IMetabaseUpdate