IAuditLog.CountOperations

Syntax

CountOperations([Session: Integer = -1]; [Operation: Integer = -1]): Integer;

CountOperations(Session: uinteger; Operation: uinteger ): integer;

Parameters

Session. It determines a session where it is required to specify the number of records in access protocol. The IAuditLogons.Session or IAuditOperations.Session property can be used as value. The default value is -1 (all sessions).

Operation. It determines an operation , the record number about which must be specified in access protocol. IAuditOperations.Operation can be used as value. The default value is -1 (all operations).

NOTE. The parameters are optional.

Description

The CountOperations method returns the number of records about the operations in the repository in the access protocol.

Comments

If the Session andOperation parameters that are not obligatory, were set, the number of records taking into account the values of this parameters are returned.

Example

The method use is given in the example for IAuditLog.CountLogons.

See also:

IAuditLog