Load;
The Load method loads the container from the default file.
Executing the example requires the C:\Filter.xml file that contains a filter of access protocol.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
FilCon: IAuditFiltersContainer;
Begin
FilCon := New AuditFiltersContainer.Create;
FilCon.Load;
FilCon.SaveToFile("C:\Filters.xml");
End Sub UserProc;
After executing the example, filters are loaded from the file by default to a container, and the container is saved to the file C:\Filters.xml.
See also: