Append(Value: IAuditFiltersContainer);
Value. Container which filters must be added.
The Append method adds new filters to the container.
Executing the example requires the C:\Filter.xml file containing access protocol filter and the C:\Copy.xml file.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
FilCon, FilConDef: IAuditFiltersContainer;
Begin
FilCon := New AuditFiltersContainer.Create;
FilCon.LoadFromFile("C:\Filter.xml");
FilConDef := New AuditFiltersContainer.Create;
FilConDef.Load;
FilCon.Append(FilConDef);
FilCon.SaveToFile("C:\Copy.xml");
End Sub UserProc;
After executing the example filters from the FilConDef container are added to the FilCon container. The FilCon container is saved to the file C:\Copy.xml.
See also: