This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > CatalogUI > ESRI.ArcGIS.CatalogUI > Interfaces > IM > IMetadataHelper Interface > IMetadataHelper.SynchronizationInterval Property (ArcObjects .NET 10.4 SDK) |
The interval in seconds from the last update which must elapse before the Catalog will again update the metadata.
[Visual Basic .NET] Public Property SynchronizationInterval As Integer
[C#] public int SynchronizationInterval {get; set;}
The SynchronizationInterval property allows metadata updates and creation to occur at regular intervals.
The value of the SynchronizationInterval property is measured in seconds.
Depending how Updating metadata and Creating metadata (available from the SynchronizationOption property) are set up, by default, metadata is updated or created every time the selected item is viewed through the Metadata Tab (GxDocumentationView).
By default the SynchronizationInterval is 0 seconds, thus creating or updating metadata every time an item is viewed in the Metadata Tab. As long as the current time is 1 second past the values in the SyncDate & SyncTime, metadata will be updated.
Rather than continually updating or creating metadata, the SynchronizationInterval property allows the user to control when and how regularly metadata is updated or created. For instance if multiple people were accessing a feature class, one editing features and the other viewing metadata, with the default setting, the changes in the metadata would reflect those new edits in the feature class the first time the metadata was accessed through the Metadata Tab after the edits were committed. Changing the SynchronizationInterval property can postpone when changes are viewed.
This property was originally put in place to help deal with system load so that metadata is not having to be constantly created. But since the system load is rarely affected by the creation of metadata, it is a good idea to keep the defaults and always have the most accurate metadata.