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


esriMetadataSyncAction Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

esriMetadataSyncAction Constants

Metadata is created and properties are added to it based on these options.

Constant Value Description
esriMSAAccessed 0 Properties are added to metadata when it is accessed; metadata is created if it doesn't already exist.
esriMSAAlways 1 Properties are added to metadata always; metadata is created if it doesn't already exist.
esriMSACreated 2 Metadata is created and properties are added to it when metadata doesn't already exist.
esriMSANotCreated 3 Properties are added to existing metadata.
esriMSAOverwrite 4 Same as esriMSAAlways, except that individual tags are always updated, regardless of the value of the Sync attribute.
esriMSASelective 5 Same as esriMSAOverwrite, except that certain perperties (Name and ContentType as of now) won't be overwrite.

Product Availability

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