ArcObjects Library Reference (GeoDatabase)  

IMetadataSynchronizerManager Interface

Provides access to members that control which metadata synchronizers are used to update metadata.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IMetadataSynchronizationManager interface is used to manage the synchronization objects registered in ArcCatalog.  Three methods, (GetEnabled, GetSynchronizer, and SetEnabled) and one property (NumSynchronizers) are supported through this interface.

 

When To Use

The IMetadataSynchronizationManager is used when changing the current synchronizers that are enabled, when attempting to retrieve a specific synchronizer, or after creating a custom metadata synchronizer. The interface allows enabling or disabling any of the registered metadata sychronizers. A synchronizer's enabled status determines whether it will write metadata when the synchronization process occurs.

Members

Description
Method GetEnabled Indicates whether the Nth synchronizer is enabled.
Method GetSynchronizer Gets the nth synchronizer.
Read-only property NumSynchronizers The number of available synchronizers.
Method SetEnabled Set the synchronizer to be enabled or disabled.

CoClasses that implement IMetadataSynchronizerManager

CoClasses and Classes Description
MetadataSynchronizer ESRI Metadata Synchronizer object (singleton).

Remarks

The IMetadataSynchronizerManager Interface is available from the MetadataSynchronizer CoClass. The interface allows you to enable or disable any of the registered metadata synchronizers.

Additional information on this subject can be found in the Technical Paper "Creating a Custom Metadata Synchronizer", May 2001.

Note that enabling and disabling synchronizers through this interface is persisted across sessions. If changes are meant to be temporary, it's recommended that the current enabled status of each synchronizer be stored prior to any changes being made, then restored after.