IAuditFilterObject.Description

Syntax

Description: String;

Description

The Description property determines a description of a filter.

Example

Executing the example requires the C:\Filter.xml file.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    FilCon: IAuditFiltersContainer;
    Objs: IAuditFilterObjects;
    Obj: IAuditFilterObject;
Begin
    FilCon := New AuditFiltersContainer.Create;
    FilCon.Load;
    Objs := FilCon.Filters;
    Obj := Objs.Item(0).Edit;
    Obj.Description := "Filter description";
    Obj.Save;
    FilCon.SaveToFile("C:\Filter.xml");
End Sub UserProc;

After executing the example the description of the first filter of access protocol is changed. A container that contains this filter is saved in the file C:\Filter.xml.

See also:

IAuditFilterObject