How to find out what feature classes are registered as versioned

645
3
05-19-2011 05:16 AM
by Anonymous User
Not applicable
Original User: tomlind

Is there a way to query the repository to find out which FCs are registered as versioned? Only way I see now is to find all A- and D-tables and look up the registration-ID from that. But I am not sure all types of versioning creates A-D tables (moving to base). I guess there must be a flag somewhere in the repository...(version 10)?

Thanks
0 Kudos
3 Replies
by Anonymous User
Not applicable
Original User: vangelo

All versioned tables have A and D tables.  Versioning is not limited to layers, so the
versioning property is held in the table registration mask.  This is exposed in the 'C'
API in SE_reginfo_is_multiversion(), but is accessible through a bitwise query on
the TABLE_REGISTRY.OBJECT_FLAGS  (1<<3 aka 8 in my 11g instance).

- V
0 Kudos
CraigGillgrass
Esri Regular Contributor
You can also query the information from the GDB_Items table.  This help topic contains the steps on how to do this:
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Determining_which_data_is_versioned/00...
0 Kudos
by Anonymous User
Not applicable
Original User: tomlind

Thanks,
very useful!
0 Kudos