ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Realtime Namespace / RealtimeTable Class / GetExpirationMaxAge Method

In This Topic
    GetExpirationMaxAge Method (RealtimeTable)
    In This Topic
    Gets the expiration maximum age for rows. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetExpirationMaxAge() As TimeSpan
    public TimeSpan GetExpirationMaxAge()

    Return Value

    The System.TimeSpan indicating rows older than this value are being removed.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks

    When RealtimeTableDefinition.HasTrackIDField is true, it represents maximum age within each track. Previous observations that are older than the maximum expiration age comparing to the latest observation in the same track, get removed.

    When RealtimeTableDefinition.HasTrackIDField is false, rows older than the maximum expiration age, comparing to the current time, get removed.

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also