ArcGIS Pro 2.8 API Reference Guide
SetExpirationMaxCount Method (RealtimeTable)

ArcGIS.Core.Data.Realtime Namespace > RealtimeTable Class : SetExpirationMaxCount Method
The values indicating how many rows will be stored at any given time.
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 10, Windows 8.1

See Also

Reference

RealtimeTable Class
RealtimeTable Members