SetLimit

SetLimit 1:

Indicates the number of events to be cleared. The limit is applied after sorting and filtering.

SetLimit 2: Inputs

Name

Type

Description

eType

TcEventLimitType

Determines the reference whether the limit applies to the first or last events.

nLimit

DINT

Specifies the number
(-1 = no limit)

nOffset

DINT

Optional. Defines how many entries are to be skipped.

SetLimit 3: Return values

Name

Type

Description

SetLimit

HRESULT

Returns S_OK if successful.