IAuditFiltersContainer.Load

Syntax

Load;

Load();

Description

The Load method loads the container from the default file.

Example

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;
Public Shared Sub Main(Params: StartParams);
Var
    FilCon: IAuditFiltersContainer;
Begin
    FilCon := New AuditFiltersContainer.Create();
    FilCon.Load();
    FilCon.SaveToFile("C:\Filters.xml");
End Sub;

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:

IAuditFiltersContainer