Interface IConnectionManager

An interface for ConnectionManager.


public abstract interface IConnectionManager

Interface Members

MemberDescription

GetDataSources

Get the datasources. This can be from a datasources.exml file, a GetDataSources plugin, or from the information entered as default connection info in Stonefield Query Enterprise Studio.

public bool GetDataSources();

ReloadDataSources

Reloads all data sources

public void ReloadDataSources();

SaveCollection

Save the current data source collection to configpath\datasources.exml (including role information). Note that ONLY databases marked as "user can manage" have complete information persisted to file when this method is called. It is expected that data sources populated via a script will be re-populated at next startup as necessary. However, the roles for all datasources are persisted.

public void SaveCollection();

DataSources

The datasources collection.

NeedSetup

Indicates whether or not we need to show a setup dialog to gather DSN information from the user.

Requirements

Namespace: Stonefield.Query.ConnectionManagement
Assembly: interfaces.dll