You could make a list of all the feature classes in your database, remove the one you want to keep, and loop through them all deleting. This seems like it would be easier just to select them all in Catalog and delete them that way. If this is an actual versioned SDE database make sure you are working with the right version.