Select to view content in your preferred language

Change version on Layer

2107
0
09-02-2011 06:07 AM
marcoscholten
Deactivated User
I am looking far a simple way to change the version on a layer in a multiversioned database using ArcObjects.
In ArcMap (10.0) in the TOC  under the 'List By Source' tab i can right-click a group of layers and select 'Change Version...' i'm looking for a way to do exactly that using ArcObjects.
I found a solution here http://edndoc.esri.com/arcobjects/8.3/Samples/ArcMap/Versioning/Change%20Current%20Version%20in%20Ar...

But this seems overly complex for such a simple operation.
Is there a simple way to do this using ArcObjects 10 for .Net?
Something as simple as IFeatureLayer.SetVersion(IVersion v) would be nice.
0 Kudos
0 Replies