switch Version
Switches all connected feature tables to the new version. An error is thrown if:
The service isn't branch versioned
No version exists with the supplied name
Any of the ServiceGeodatabase.connectedTables have unapplied edits
Check the result of ServiceGeodatabase.hasLocalEdits() before attempting to switch versions, to make sure all changes are saved to the service or discarded from the local cache. Use the ServiceGeodatabase.applyEdits() or ServiceGeodatabase.undoLocalEdits() methods as appropriate to save or discard changes before switching versions.
Return
A Result that has no value.
Since
200.1.0