[This is preliminary documentation and is subject to change.]
Creates a new session, connected to a user interface.
- ui (UserInterface)
- The user interface to connect the session to. This is usually newly constructed.
- modelAssembly (Assembly)
- The assembly containing the model module for the application starting the new session
- settingsName (String)
- TThe name to use to retrieve connection settings from the registry. If null or empty, default settings are used.
The newly created DbaSession object, or null if the user cancelled from the connect dialogue box.
Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)
You only need to call this in a stand-alone ExecutionContext. Usually, you don't need to alter the call which is included in the generated StartUp class for the application.