There is no way to set the selected provider directly.
But you could do the following thing.
But you could do the following thing.
- Select the correct provider from the drop down.
- Save your project via
AppManager.SerializationManager.SaveProject(fileName)
- Whenever you load your application call
AppManager.SerializationManager.OpenProject(fileName)
after you've called AppManager.LoadExtensions()
The WebMap plugin listens to the App.SerializationManager.Serializing and App.SerializationManager.Deserializing events, writing its settings to the dspx and reading them from there again.