I'm working on an Add-In that needs to read spatial data from a feature service. Using just a feature service URL, this seems to be working. I can create a Geodatabase object from connection properties derived from the feature service's URI, and then I can get data out of that gdb's tables.
But what if I need to access data from a specific version of a versioned feature service? Right now, IsVersioningSupported() always returns false from a Geodatabase instantiated from a feature service's connection properties. Likewise, if I try to call GetVersionManager() on that Geodatabase object, I get the following error:
"This type of geodatabase (Service) does not support version."
Does this really mean there is no way to programatically access versions of a versioned feature service? Or does it just mean that the feature service in question isn't set up properly for versioning?
Ultimately I'm hoping to find out
1. How to set up a feature service for traditional and branch versioning
2. How to access those versions within the Arc Pro SDK.
Thanks,
David