This document is archived and information here might be outdated.  Recommended version.


IMetadataHelper.SynchronizationOption Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (CatalogUI)  

IMetadataHelper.SynchronizationOption Property

When the Catalog creates and updates metadata automatically.

[Visual Basic .NET]
Public Property SynchronizationOption As esriSynchronizationOption
[C#]
public esriSynchronizationOption SynchronizationOption {get; set;}

Product Availability

Available with ArcGIS Desktop.

Description

This SynchronizationOption property allows for control of how metadata is created and updated automatically using ArcCatalog.

Remarks

The SynchronizationOption property is set for all items in ArcGIS, not individual documents. Synchronization cannot be disabled for individual documents in ArcGIS 10. By default the property is set to esriSyncAccessed, where metadata is always created and always updated. This property only determines if synchronization occurs when the metadata is viewed. It does not affect if metadata is updated programmatically or if synchronization occurs in connection with other operations.

The SynchronizationOption property can also be controlled through the user interface. A check box is available in the ArcGIS application�s Options dialog box that determines if metadata will be updated automatically when you view metadata. When the box is checked synchronization will always occur, and if metadata has not already been created it will be created. The SynchronizationOption property is set to esriSyncAccessed.

When unchecked, synchronization will never occur when you view the item�s metadata. The SynchronizationOption property is set to esriSyncNever. Other actions will update the metadata automatically even when this box is unchecked including using geoprocessing tools on the item, importing metadata, and so on.

 

See Also

IMetadataHelper Interface | esriSynchronizationOption Constants