As you know, you can store feature classes in arcsde in two ways.
Firts, in the root path: sde_conn_file.sde/FeatureClass
Second, in a dataset: sde_conn_file.sde/DataSet/FeatureClass
How can I register as a versioned the feature class that given second example?
I tried the code given below but, it doesn't work.
FCList = arcpy.ListFeatureClasses("*","All","DATASETNAME") for fc in FCList: arcpy.RegisterAsVersioned_management(fc,"NO_EDITS_TO_BASE")