Count: Integer;
The Count property returns the number of filtering conditions.
Sub Main;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
AL: IAuditLog;
AF: IAuditFilter;
i: Integer;
Begin
MB:=MetabaseClass.Active;
MS:=MB.Security;
Al:=MS.OpenAuditLog;
AF:=Al.Filter;
i:=AF.Count;
End Sub Main;
After executing the example the "i" variable contains the number of access protocol filtering conditions.
See also: