ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Realtime Namespace / RealtimeTable Class / SetExpirationMaxCount Method
The values indicating how many rows will be stored at any given time.

In This Topic
    SetExpirationMaxCount Method (RealtimeTable)
    In This Topic
    Gets the expiration maximum row count. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetExpirationMaxCount( 
       ulong expirationMaxCount
    )
    Public Sub SetExpirationMaxCount( _
       ByVal expirationMaxCount As ULong _
    ) 

    Parameters

    expirationMaxCount
    The values indicating how many rows will be stored at any given time.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks

    You need to set SetExpirationMethod to RowExpirationMethod.MaxCount to get that in effect.

    When RealtimeTableDefinition.HasTrackIDField is true, it represents total number of rows within each track.

    When RealtimeTableDefinition.HasTrackIDField is false, it represents total number of rows.

    If you don't want any rows removed, set this value to 0.

    It uses FIFO method - the first one comes in is the first one to be removed.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also