public void SetExpirationMaxAge( TimeSpan expirationMaxAge )
Public Sub SetExpirationMaxAge( _ ByVal expirationMaxAge As TimeSpan _ )
Parameters
- expirationMaxAge
- The System.TimeSpan indicating features older than this value will be removed.
public void SetExpirationMaxAge( TimeSpan expirationMaxAge )
Public Sub SetExpirationMaxAge( _ ByVal expirationMaxAge As TimeSpan _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
You need to set SetExpirationMethod to RowExpirationMethod.MaxAge to get that in effect.
When RealtimeFeatureClassDefinition.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, will be removed.
When RealtimeFeatureClassDefinition.HasTrackIDField is false, features older than the maximum expiration age, comparing to the current time, will get removed.
If you don't want any features removed, set this value to 0.
Target Platforms: Windows 10, Windows 8.1, Windows 7