Hi I got python script to find out all the verioned feature classes inside the Geodatabase. It works for me so I thought of sharing it with you guys,import sys, string, os, arcgisscripting, logging
log_File = "c:\\Documents and Settings\\apaul\\desktop\\sde_dataset_versioning.log"
# Set up log file
logger = logging.getLogger('myapp')
hdlr = logging.FileHandler(log_File)
formatter = logging.Formatter('%(message)s')
hdlr.setFormatter(formatter)
logger.addHandler(hdlr)
logger.setLevel(logging.INFO)
gp = arcgisscripting.create(9.3)
gp.workspace = "C:\\Documents and Settings\\apaul\\\desktop\\sde_con.sde"
fds = gp.ListDatasets()
for fd in fds:
gp.workspace = "C:\\Documents and Settings\\apaul\\\desktop\\sde_con.sde\\%s" % fd
fcs = gp.ListFeatureClasses()
try:
fc1 = fcs[0]
desc = gp.Describe(fc1).IsVersioned
print fd,desc
logger.info('%s %s'%(fd,desc))
except:
pass