UpgradeMetadata Method (IMetadata)
Item: Upgrade the metadata of the current item: UpgradeMetadata
var fgdcItem = ItemFactory.Instance.Create(@"C:\projectAlpha\GDBs\testData.gdb");
await QueuedTask.Run(() => fgdcItem.UpgradeMetadata(MDUpgradeOption.esriUpgradeFgdcCsdgm));
Target Platforms: Windows 11, Windows 10, Windows 8.1
ArcGIS Pro version: 2.2 or higher.